Update the version of Microsoft.NETFramework.ReferenceAssemblies.net40 #787
Loading…
Reference in a new issue
No description provided.
Delete branch "UpdatePackageInCecil"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Update the version of Microsoft.NETFramework.ReferenceAssemblies.net40 since is detected as a package downgrade and a failure in newer SDKs
See failures in:
https://github.com/mono/linker/pull/2156/checks?check_run_id=3119342202
Thanks for the PR @tlakollo. Waiting for the checks to be green and this is good to go.
FYI I think this is because the SDK now automatically adds a reference to the appropriate ReferenceAssemblies package if the TF is netfx, but the package version is higher than the explicit reference that was used before, so it caused a NuGet warning.
@agocke @tlakollo do you know when this started? .NET 5? I'm not opposed to making the .NET 5 SDK the baseline to build Cecil and removing the explicit reference all-together and letting the SDK figure out what's best.
It looks like auto-targeting was added 16 months ago, and looks new to the .NET 5 branches.
github.com/dotnet/sdk@714c051d05The most recent break is just because of the package reference upgrade, so I think you could remove your reference entirely and require the .NET 5 SDK for building.