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

Unable to install, update or clean unsigned preview workloads reliably. #38681

Open
KieranFoot opened this issue Feb 12, 2024 · 2 comments
Open

Comments

@KieranFoot
Copy link

Currently I am developing a project using .NET 8 and the new Aspire tool released by yourselves (in preview).

My issue is around the strange and very unhelpful behaviour exhibited by the dotnet workload tool.

When installing workloads, we have the option to disregard signature checks. This allows installation of packages as part of an unsigned preview release. The issue is that, when an install fails due to a missing package (another issue to be raised), workloads are left in an unusable state despite the workload tool claiming to have performed a rollback of actions.

To fix the situation, I would expect to be able to use dotnet workload uninstall [workload] or dotnet workload clean -all to remove the offending packages, and install non-preview versions by specifying the default nuget package source instead of the dev one. Unfortunately, this is not an options as the installed workloads fail a signature check and removal is not allowed to proceed.

This could be remedied by providing a similar flag that enables signature checking to be skipped as on the dotnet workload install command with the --skip-sign-check flag.

Without such an option, I am currently unable to use any of the affected workloads reliably until either the missing package appears in the dev repo, or a change the the behaviour of the dotnet workload tool has been made.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Workloads untriaged Request triage from a team member labels Feb 12, 2024
@KieranFoot
Copy link
Author

This PR #36809 might help in this situation providing it also allows for signature checks to be skipped.

@KieranFoot
Copy link
Author

Bump

@MiYanni MiYanni removed the untriaged Request triage from a team member label Mar 6, 2025
@MiYanni MiYanni added this to the 10.0.1xx milestone Mar 6, 2025
@MiYanni MiYanni removed their assignment Mar 6, 2025
@MiYanni MiYanni added the Bug label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants