Skip to content

NETSDKE2E][Regression] With .NET 11.0.100-preview.7.26379.122 installed by exe installer, failed to update the advertising manifest microsoft.net.workloads: Could not find a part of the path %appdata%\Local\Temp\2igunvgq.qkc\msi\dotnet\sdk-manifests when installing workloads #55548

Description

@vdanche

###Regression Info
Not repro on:11.0.0-preview.6.26366.102

Describe the bug

With .NET 11.0.100-preview.7.26379.122 installed by exe installer, failed to update the advertising manifest microsoft.net.workloads: Could not find a part of the path %appdata%\Local\Temp\2igunvgq.qkc\msi\dotnet\sdk-manifests when installing workloads

Steps to reproduce

Steps to reproduce
Install latest NET11 P7 SDK:11.0.100-preview.7.26379.122 exe on windows
try to install dotnet workload e.g maui dotnet install workload maui

Expected behavior

Workloads could be installed successfully with the correct version

Actual behavior

In output, it shows 'Failed to update the advertising manifest microsoft.net.workloads: Could not find a part of the path 'C:\Users\v-danche\AppData\Local\Temp\0nwvv1w2.pwu\msi\dotnet\sdk-manifests'.."
Although maui was installed successfully, the version is Preveiw 6 rather than Preview7.
Image
Image
Image

Is this a regression?

Yes

Are there any workarounds?

using command dotnet workload update --version, workload maui could update to the correct version

dotnet --info output

.NET SDK:
 Version:           11.0.100-preview.7.26379.122
 Commit:            efef326b25
 Workload version:  11.0.100-manifests.45f37740
 MSBuild version:   18.10.0-1.26379.122+efef326b2

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.26200
 OS Platform: Windows
 RID:         win-x64
 Base Path:   C:\Program Files\dotnet\sdk\11.0.100-preview.7.26379.122

.NET workloads installed:
 [maui]
   Installation Source: SDK 11.0.100-preview.7
   Manifest Version:    11.0.0-preview.6.26360.8/11.0.100-preview.6
   Manifest Path:       C:\Program Files\dotnet\sdk-manifests\11.0.100-preview.6\microsoft.net.sdk.maui\11.0.0-preview.6.26360.8\WorkloadManifest.json
   Install Type:              Msi

Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.

Host:
  Version:      11.0.0-preview.7.26379.122
  Architecture: x64
  Commit:       efef326b25

.NET SDKs installed:
  11.0.100-preview.7.26379.122 [C:\Program Files\dotnet\sdk]

.NET runtimes installed:
  Microsoft.AspNetCore.App 11.0.0-preview.7.26379.122 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 11.0.0-preview.7.26379.122 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 11.0.0-preview.7.26379.122 [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

IDE version

No response

Other details

No response

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions