Skip to content
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

[NETSDKE2E]Workloads are not displayed in "dotnet workload list" after upgrade from NET8 preview 1 to NET8 preview 2 SDK. #15683

Closed
vdanche opened this issue Mar 2, 2023 · 6 comments

Comments

@vdanche
Copy link
Member

vdanche commented Mar 2, 2023

1.Install NET8 preview 1 SDK.
2.Install workload with commands.
e.g dotnet workload install wasm-tools --skip-manifest-update
3. check the workloads via "dotnet workload list".
image
4. Upgrade SDK to NET8 preview 2 SDK(8.0.100-preview.2.23151.8) and then check the workloads again using "dotnet workload list"

Expected Result:
Workloads should be displayed well after upgrade.

Actual Result:
Workloads are missing.
image

dotnet --info
image

@vdanche
Copy link
Member Author

vdanche commented Mar 2, 2023

Similar bug #28451:[NETSDKE2E]Workloads are not displayed in "dotnet workload list" after upgrade from NET RC2 to NET7 RTM.

@WenJunJi01
Copy link
Member

This issue is also repro on Win-arm64.

@dsplaisted
Copy link
Member

This is expected. When you update across feature bands (IE to a different numbered preview, or from something like 7.0.100 to 7.0.200), you need to install workloads again.

You can run dotnet workload update --from-previous-sdk to install the workloads that were previously installed.

I've added an item to try to at least print more information out to dotnet/sdk#30008

@marcpopMSFT
Copy link
Member

Closing as we'll track improving the experience with 30008.

@marcpopMSFT marcpopMSFT closed this as not planned Won't fix, can't repro, duplicate, stale Mar 2, 2023
@vdanche
Copy link
Member Author

vdanche commented Mar 3, 2023

net workload update --from-previous-sdk
@dsplaisted we use "dotnet workload update --from-previous-sdk" after upgrade to Net 8 prview 2, still no maui workload
image

@vdanche
Copy link
Member Author

vdanche commented Mar 6, 2023

@dsplaisted we filed a new issue #15706: [NETSDKE2E]Workload can not be installed via "dotnet workload update --from-previous-sdk" after upgrading from net8 preview 1 to net8 preview 2.

FYI @richaverma1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants