dotnet / sdk

Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
https://dot.net/core
MIT License
2.6k stars 1.03k forks source link

7.O RTM Error #28373

Open Julien-Marpault opened 1 year ago

Julien-Marpault commented 1 year ago

I Installed Last 7.0 RTM Nightly and I'm facing some issues with it.

Error NETSDK1109 Runtime list file 'C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.Mono.browser-wasm\7.0.0-rtm.22505.15\data\RuntimeList.xml' was not found. Report this error to the .NET team here: https://aka.ms/dotnet-sdk-issue. BookStarter C:\Program Files\dotnet\sdk\7.0.100-rtm.22506.1\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets 448

Error NETSDK1147 To build this project, the following workloads must be installed: wasm-tools To install these workloads, run the following command: dotnet workload restore BookStarter.Administration C:\Program Files\dotnet\sdk\7.0.100-rtm.22506.1\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets 38

Error NETSDK1147 To build this project, the following workloads must be installed: wasm-tools To install these workloads, run the following command: dotnet workload restore BookStarter C:\Program Files\dotnet\sdk\7.0.100-rtm.22506.1\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.ImportWorkloads.targets 38

joeloff commented 1 year ago

Did you install the wasm-tools workload? The file is definitely present in the workload installer. You can try running dotnet workload repair to see if that fixes the issue.

lewing commented 1 year ago

image based on the binlog you shared the missing pack may just be resolving to the wrong workload

mattleibow commented 1 year ago

I managed to get past this after re-installing my workloads. Maybe the baseline workloads in the RTM SDK is not yet updated with the versions in the RC SDK...

marinasundstrom commented 7 months ago

I had a similar problem with .NET 8 going from RC 2 to RTM.

Make sure that you have no global.json file with a pinned version less than the target version (like a preview). Then run dotnet workload install wasm-tools. Rebuild your app.

The message should be gone from the browser console.