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

WorkloadManifestCompositionException while pairing Visual Studio to mac agent #20687

Closed
Yves-Be opened this issue Feb 19, 2024 · 1 comment
Closed
Labels
platform/iOS 🍎 t/bug Something isn't working

Comments

@Yves-Be
Copy link

Yves-Be commented Feb 19, 2024

Description

I have a solution with a global.json pinned to .NET 8.0.101 and MauiVersion 8.0.6.
Last week I updated Visual Studio to 17.9, which includes the 8.0.200 SDK (known for #20600)
After the update, I reinstalled the 8.0.101 SDK and ran dotnet workload install maui in the solution directory.

When pairing with a mac agent I get the following error:

Could not install workload 'ios'. Details: Unhandled exception: Microsoft.NET.Sdk.WorkloadManifestReader.WorkloadManifestCompositionException: Could not find workload 'ios' extended by workload 'maui-ios' in manifest 'microsoft.net.sdk.maui' [/Users/yves/Library/Caches/Xamarin/XMA/SDKs/dotnet/sdk-manifests/8.0.100/microsoft.net.sdk.maui/8.0.3/WorkloadManifest.json]

I already cleared the Library/Caches/Xamarin folder on the mac, installed SDK 8.0.201, and removed the global.json, but the problem remains.

Version with bug

8.0.7 SR2

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

8.0.6 SR1

Affected platforms

iOS

Did you find any workaround?

No workaround was found.

Relevant log output

Installed Workload Id      Manifest Version       Installation Source
--------------------------------------------------------------------------------
ios                        17.2.8022/8.0.100      SDK 8.0.100, VS 17.9.34607.119
maui                       8.0.6/8.0.100          SDK 8.0.100
maui-ios                   8.0.6/8.0.100          SDK 8.0.100
maccatalyst                17.2.8022/8.0.100      VS 17.9.34607.119
maui-windows               8.0.6/8.0.100          VS 17.9.34607.119
android                    34.0.79/8.0.100        VS 17.9.34607.119
@Yves-Be Yves-Be added the t/bug Something isn't working label Feb 19, 2024
@Yves-Be
Copy link
Author

Yves-Be commented Feb 19, 2024

Duplicate of #20686, beat my by 18 minutes

@Yves-Be Yves-Be closed this as completed Feb 19, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
platform/iOS 🍎 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants