There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'browser-wasm'

后端 未结 6 978
太阳男子
太阳男子 2020-12-16 00:11

Trying to migrate from ASP.NET Core 3.1 to 5.0 using this guide provided by Microsoft.

Installed SDK 5.0.100-rc.1 with runtimes. Updated project as guide says and sti

6条回答
  •  抹茶落季
    2020-12-16 00:49

    Thanks for your help, In my case, I have to followup steps mentioned by @Kasta and official guide.

    I make sure that below SDK changes are in place,Thank you @OzanYasinDogan for mentioning this helps.

    • Client - Microsoft.NET.Sdk.BlazorWebAssembly
    • Server - Microsoft.NET.Sdk.Web
    • Shared - Microsoft.NET.Sdk

    In my case, I had to

    • Remove the browser-wasm and true. Mentioned here
    • Remove Microsoft.AspNetCore.Components.WebAssembly.BuildServer which was version 3.xx.xx causing conflicts from Blazor.Client Project file.

提交回复
热议问题