When using Central Package Management, the default package restores fail if an explicit PackageVersion does not exist for the dependent packages the SDK is using.
e.g., I have an explicit PackageVersion set for:
- Microsoft.AspNet.Mvc
- RazorGenerator.Mvc
- Microsoft.CodeDom.Providers.DotNetCompilerPlatform
However, I get the error for the two packages the SDK uses that I did not set references for.
- Microsoft.Net.Compilers.Toolset
- RazorGenerator.MsBuild
error NU1010: The PackageReference items Microsoft.Net.Compilers.Toolset;RazorGenerator.MsBuild do not have corresponding PackageVersion.
It looks like there needs to be additional checks to see if there is an existing PackageVersion defined for each dependent package.
When using Central Package Management, the default package restores fail if an explicit PackageVersion does not exist for the dependent packages the SDK is using.
e.g., I have an explicit PackageVersion set for:
However, I get the error for the two packages the SDK uses that I did not set references for.
error NU1010: The PackageReference items Microsoft.Net.Compilers.Toolset;RazorGenerator.MsBuild do not have corresponding PackageVersion.
It looks like there needs to be additional checks to see if there is an existing PackageVersion defined for each dependent package.