Skip to content

Newtonsoft.Json 12.0.0 from dotnet-script always imported even when 13.0.1 package installed #663

@georgiosd

Description

@georgiosd

This simple script:

#r "nuget: Newtonsoft.Json, 13.0.1"

Console.WriteLine(typeof(Newtonsoft.Json.JsonConvert).Assembly);
Console.WriteLine(typeof(Newtonsoft.Json.JsonConvert).Assembly.Location);

Prints:

Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
C:\Users\georgiosd\.dotnet\tools\.store\dotnet-script\1.3.1\dotnet-script\1.3.1\tools\net6.0\any\Newtonsoft.Json.dll

😱

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions