Open livarcocc opened 6 years ago
som the issue is that the new MSBuild NuGet pack task comes with a new property for symbols file endings, but this property does not have a default. This is a breaking change since now older builds that use the pack task just fail.
Unfortunately we can't just add the property to our targets file since the old task doesn't have that property and MSBuild will therefor fail on SDK < 2.1.500.
So Paket team needed to check msbuild versions in the targets file and add yet another conditinal:
how to resolve this problem ? @forki
We applied an ugly workaround in paket.
From @dbrattli on November 15, 2018 17:33
Steps to reproduce
Add Paket to any project and run
dotnet pack
will fail after installing .NET Core 2.1.500. The error message isThe provided SymbolPackageFormat value is invalid.
. It seems to be breaking since the new property does not have a default.This issue is tracked in the Paket manager at: https://github.com/fsprojects/Paket/issues/3427
Expected behavior
dotnet pack
should succeed.Actual behavior
Fails with error:
Environment data
dotnet --info
output:.NET Core SDK (reflecting any global.json): Version: 2.1.500 Commit: b68b931422
Runtime Environment: OS Name: Mac OS X OS Version: 10.14 OS Platform: Darwin RID: osx.10.14-x64 Base Path: /usr/local/share/dotnet/sdk/2.1.500/
Host (useful for support): Version: 2.1.6 Commit: 3f4f8eebd8
Copied from original issue: dotnet/cli#10345