Hi,
Found a build issue with XSharp 3 and NuGet Central Package Management in Visual Studio.
Setup:
Directory.Build.props sets ManagePackageVersionsCentrally=true and defines a property XSharpPackageVersion=3.0.0.6
Directory.Packages.props defines
.xsproj has — no Version, which is the correct CPM pattern
Result:
dotnet build → succeeds, 0 errors
VS right-click Build → NU1008: The following PackageReference items cannot define a value for Version: XSharp.VOSDK. Projects using Central Package Management must define a Version value on a PackageVersion item.
I've attached a solution illustrating
XSharpCpmRepro.zip
Hi,
Found a build issue with XSharp 3 and NuGet Central Package Management in Visual Studio.
Setup:
Directory.Build.props sets ManagePackageVersionsCentrally=true and defines a property XSharpPackageVersion=3.0.0.6
Directory.Packages.props defines
.xsproj has — no Version, which is the correct CPM pattern
Result:
dotnet build → succeeds, 0 errors
VS right-click Build → NU1008: The following PackageReference items cannot define a value for Version: XSharp.VOSDK. Projects using Central Package Management must define a Version value on a PackageVersion item.
I've attached a solution illustrating
XSharpCpmRepro.zip