Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
dotnet build fails when referencing a project converted to PackageReference #6294
This problem prevents us from performing continuous integration or scripted builds.
Steps to reproduce
Both the VS and commandline builds should succeed.
Commandline build fails with this error:
Visual Studio uses full-framework msbuild, so I also tried just running
.NET Command Line Tools (1.0.2)
referenced this issue
Apr 11, 2017
For legacy csproj projects using PackageReference the errors still refer to project.json, however the same thing applies for the csproj file. Updating this is tracked here: NuGet/Home#4778
I see. dotnet/sdk#1112 covers the rid-needed issue, then. The problem with this is that nuget.exe doesn't support new style csproj - so neither