[NETSDKE2E][Workload set]With 9.0.104 SDK installed on win-x64, Warning "The specified version does not contain a valid major, minor, and patch version: '9.0.102.1' displays when switch back to loose manifests if workload set version is "9.0.102.1" #46946
Labels
Repro steps:
1.Install 9.0.104 SDK on win-x64.
2.Run below command
dotnet workload install maui
Dotnet workload update --version 9.0.102.1
Dotnet workload config --update-mode manifests
3.Dotnet workload update
4.Check if there is any warning and error.
Expected Result
There is no any warning and error
Actual Result:
Step3: Warning: Workload garbage collection failed with error: The specified version does not contain a valid major, minor, and patch version: '9.0.102.1' displays when switch back to loose manifests if workload set version is "9.0.102.1"
Note:
if we continue uninstalling maui, below error happens, but it had been uninstalled
dotnet --info
.NET SDK:
Version: 9.0.104
Commit: 2750432faa
Workload version: 9.0.100-manifests.34e45f8a
MSBuild version: 17.12.27+e0b90a9a8
Runtime Environment:
OS Name: Windows
OS Version: 10.0.26100
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.104\
.NET workloads installed:
[maui]
Installation Source: SDK 9.0.100
Manifest Version: 9.0.14/9.0.100
Manifest Path: C:\Program Files\dotnet\sdk-manifests\9.0.100\microsoft.net.sdk.maui\9.0.14\WorkloadManifest.json
Install Type: Msi
Configured to use loose manifests when installing new manifests.
Host:
Version: 9.0.3
Architecture: x64
Commit: 831d23e561
.NET SDKs installed:
9.0.104 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 9.0.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 9.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 9.0.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
None
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
The text was updated successfully, but these errors were encountered: