Run FlightFinder Blazor on macOS

asp.net-core blazor macos

Question

I'm so excited to start to use Blazor and I've just started to play with it. I'm using a Mac and I need to use terminal to create new projects. I've already made the TODO List as described on documentation: https://blazor.net/docs/tutorials/build-your-first-blazor-app.html#build-a-todo-list.

There's a great sample on: https://github.com/aspnet/samples/tree/master/samples/aspnetcore/blazor. But I can't run it on the macOS. The Server project runs, but the client don't.

"dotnet run" command says: Cannot run your project. Make sure you have an executable project type and make sure that 'dotnet run' supports this project. An executable project must target an executable TFM (for example, netcoreapp2.0) and have OutputType 'Exe'. The current OutputType is 'Exe'.

Popular Answer

You should use dotnet blazor serve




Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why