I have tried to run the out of the box Blazor application to try out C# WebAssembly. I am running into issues when trying to run it different ways. I have also tried to hack the runtimeconfig.json
according to this https://github.com/dotnet/cli/issues/7543
Running IIS Express
Running BlazorApplication1 The program '[42032] dotnet.exe' has exited with code -2147450749 (0x80008083).
Running in command line It was not possible to find any compatible framework version The specified framework 'Microsoft.NETCore.App', version '2.0.0-preview3-25512-01' was not found. - Check application dependencies and target a framework version installed at: \\ - Alternatively, install the framework version '2.0.0-preview3-25512-01'.
您需要安装.net核心框架的2.1预览才能使Blazor正常工作: 在此处下载
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.