belabes abderrahmane
belabes abderrahmane

Reputation: 153

running blazor from visual studio code

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

Answers (1)

Chris Sainty
Chris Sainty

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

Related Questions