-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workload regression, installation fails for undefined platform alias #17790
Comments
@sfoslund Is this an issue in our design, in the workload manifests, a bug in the workload installation, or what? It looks like the actual error generated is:
|
Reproducing on
|
When I try to repro I get the second error (Workload installation failed: Object reference not set to an instance of an object) but not the duplicate manifest one. The object reference error is probably an install bug, but I'm not sure about the duplicate manifest error without a repro |
@radical you were seeing the duplicate error when you didn't pass --skip-manifest-update on linux? |
Yes, with a fresh dotnet install. |
This is what I tried on an Ubuntu 18.04 vm:
|
What baseline manifests do you have installed? Are they checked into the SDK and are the packages available on nuget.org of do I need a certain feed? The build I'm looking at still has microsoft.net.workload.blazorwebassembly as the manifest id and there don't seem to be any manifest packages available. |
The fix for the object ref error is simple: #17794 |
This(
I added the following to a new nuget.config:
After installing dotnet, and setting PATH:
|
I'm not able to reproduce this on windows or mac. The steps I'm following are:
And installation is succeeding and updating manifests normally. Am I missing a step? |
Try this on linux, where we don't have a python package available. |
Ah, I'm able to repro and it's an issue with case sensitive file systems. I'll work to get a fix out soon. |
Fixed by #17794 and dotnet/installer#10788 |
Confirmed that this no longer repos on linux with preview.5.21277.7 |
#16956
And the associated design change say that a pack alias that is not defined for a given platform is not required.
dotnet workload install microsoft-net-sdk-blazorwebassembly-aot
has started failing onlinux-x64
because there is no python pack defined for that platform.The failure is easy to reproduce by removing an alias for the platform you are testing on.
cc @mhutch @dsplaisted @mmitche @pranavkm
The text was updated successfully, but these errors were encountered: