Skip to content

How to downgrade maui sdk from 7.0.58 to 7.0.52 #12998

Closed
@juwens

Description

Description

We have several issues with the 7.0.58 and want to go back to 7.0.52. For example #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

  1. 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions