mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-15 05:35:56 +00:00
Packaging fails after updating dotnet sdk to 2.1.403 #43
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Originally created by @matthid on GitHub (Oct 5, 2018).
In particular the build fails since
d0cda20528and the only relevant change there seems to be the 402 -> 403 update (which I have confirmed locally).The issue seems to happen if you use a "local" dotnet cli installation via script (not via installer) combined with a global installation of a different version.
Reproducing the issue
Repro:
The script will download and install a local "dotnet sdk" with the version 2.1.403 (as it notices that only 2.1.402 is installed globally). After downloading it will invoke the msbuild target (you can run the printed msbuild command standalone)
Expected result
works
Actual result
Workaround
Do not use locally installed dotnet cli version?
@matthid commented on GitHub (Apr 22, 2019):
I just hit this again. Using a global installation still is the workaround...
@qmfrederik commented on GitHub (May 2, 2019):
@matthid That's an interesting corner case. I've released an update a couple of days ago which packages
dotnet-debas a global .NET Core CLI tool.Can you give that a try and let me know if it fixes the issue? If not, there are some other things we can try.
@qmfrederik commented on GitHub (Jun 16, 2019):
I'm closing this as we now ship this as a global tool. Let me know if this is not fixed.