dotnet / dotnet/vscode-csharp

ASP.NET Core client side Blazor applications can't be run in VSCode

Open
#3,024 8 comments 7 reactions 0 assignees View on GitHub
Feature Request Launch and Task Assets
Dominant language
TypeScript
Stars
3.1k
Forks
737
Avg merge
17h 56m
Merged PRs (30d)
21

Description

This was originally reported over in https://github.com/aspnet/AspNetCore/issues/9451 and it seems that the dialog to add build assets to the project can't detect Blazor client side applications because they're not true runnable applications on their own.

To fix this there's two steps:
1. Make runnable project detection understand Blazor client side applications
2. Update the run .net core console app to utilize `dotnet run --no-build` instead of `dotnet *.dll`. The distinction about using `dotnet run` enables the Blazor project to hijack the run process and properly boot a runnable application.

/cc @danroth27

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.