How to downgrade maui sdk from 7.0.58 to 7.0.52
See original GitHub issueDescription
We have several issues with the 7.0.58 and want to go back to 7.0.52. For example https://github.com/dotnet/maui/issues/11579 but also things like this C:\Program Files\dotnet\sdk\7.0.102\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets(38,5): error NETSDK1147: To build this project, the following workloads must be installed: ios [D:\gitlab\builds\QFfMLjaN\0\Foo\Bar\Baz.csproj::TargetFramework=net7.0-ios]
despite ios and maui-ios is already installed with maui-workload of VS.
Depending on when people installed there VS, some colleagues/build-servers have 7.0.52, others have 7.0.58.
Dotnet workload provides no obvious way to downgrade.
What is your suggested way to downgrade the installed maui-sdk from 7.0.58 to 7.0.52.
We are on .net sdk 7.0.102.
Steps to Reproduce
- install visual Studio
Link to public reproduction project repository
https://github.com/dotnet/maui
Version with bug
7.0 (current)
Last version that worked well
7.0 (current)
Affected platforms
iOS, Android, Windows, Other (Tizen, Linux, etc. not supported by Microsoft directly)
Affected platform versions
all
Did you find any workaround?
no
Relevant log output
No response
Issue Analytics
- State:
- Created 8 months ago
- Reactions:1
- Comments:27 (6 by maintainers)
Didn’t work for me on Windows either, but worked on my Mac. Go figure.
I remember during the recent MAUI standup someone from MS said that the thing with workloads is that they’re ‘Trying to build a bus while driving it’ , which probably means we’ll all end up in a ditch by the side of the road, wheels up lol (don’t ban me, please, I’m just trying to bring attention to the issue)
@juwens is right on every point! Exactly.