Restore not including correct version of deep dependency

TeamCity Professional 2019.1.2 (build 66342)

Windows 10

.NET Core 2.2.0

.NET (CLI) Restore build-step on Visual Studio Solution ( .sln )

One of the Visual Studio Projects ( .csproj ) has this dependency chain :

Swashbuckle.AspNetCore.4.0.1 > Swashbuckle.AspNetCore.SwaggerUI.4.0.1 > Newtonsoft.Json.11.0.2

But the only artifact created is Newtonsoft.Json.dll v9.0.1

Why is TC not pulling down the correct version ?

 

 

 

 

0
1 comment

When you run `dotnet restore` command for the solution file in the command line, does the behavior differs from the TeamCity? 

0

Please sign in to leave a comment.