Blazor WebAssembly 3.1 Target Framework is missing

旧城冷巷雨未停 提交于 2020-06-28 07:19:27

问题


I created a .NET Core Web API and class library with .NET Standard 3.1. But when I try to create Blazor WebAssembly with 3.1, it automatically creates a 2.1 version - as seen here:

This is my Blazor web and .NET Core 3.1 is not listed. I install the 3.1 version again but still not listing. I already have .NET Core 3.1 version on Web API and class library but I don't understand why I can not create Blazor 3.1.

But when can I create blazor server side application as 3.1 but I can't create web assembly as 3.1. Any idea would be great

Thanks


回答1:


This is OK. This is the latest version of Blazor WebAssembly App: .NETStandard 2.1

A Blazor WebAssembly App, unlike Balzor Server App , runs under the Mono runtime. It is not .Net Core.

Just add the project and try it. Alas, it works ;)



来源:https://stackoverflow.com/questions/61170445/blazor-webassembly-3-1-target-framework-is-missing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!