简体   繁体   中英

Macbook Air M1 won't run Blazor Application with normal build, but runs with “dotnet run” command

Just picked up the new Macbook Air M1 and wanted to do some Blazor development on it, but I've encountered my first issue. The application won't run with when I build it, no automatic browser pop-up. The only way I can make the application run is by going to the Terminal inside Visual Studio and type "dotnet run", and then manually copy https://localhost:5001/ into the browser. I have installed .NET 5.0, and I've also tried with .NET Core 3.1.

Here it is with normal build, just stuck at "Loaded 'usr......' "正常构建

If I use dotnet run, it runs...正常构建

.NET does not yet fully support Apple Silicon: https://github.com/dotnet/runtime/issues/43313

All you can do for now is grin-and-bear-it.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM