Reputation: 153
i have created a blazor app via command line, now I am trying to run this app from visual studio code, when i start running VSC ask me to chose an environment . which environment should I use to run the application ?
Upvotes: 14
Views: 10559
Reputation: 8521
So right now running Blazor apps using F5 in VS Code is not supported. There's currently an issue tracking this https://github.com/OmniSharp/omnisharp-vscode/issues/3024.
For now you can run Blazor applications using the terminal and the following dotnet CLI command in the same directory as the csproj file.
dotnet run
Upvotes: 18