LPLN
LPLN

Reputation: 473

After updating Visual Studio 2019 to 16.4.0 I can't edit *.cshtml when in debuging

After updating Visual Studio 2019 to 16.4.0, I can't edit *.cshtml when in debugging, by any changes I need to stop debugging and again debug. What shall I do?

Upvotes: 0

Views: 141

Answers (1)

Orace
Orace

Reputation: 8359

If it's a ASP.net core 3.0 project, as explained here (from here), you have to enable this feature from the code.

public void ConfigureServices(IServiceCollection services)
{
    services.AddRazorPages()
            .AddRazorRuntimeCompilation();
    ...
}

Upvotes: 1

Related Questions