Aleksander Chelpski
Aleksander Chelpski

Reputation: 771

How to enable compilation on the fly in Visual Studio

I have an ASP.NET Core 2.2 application. I run it using Ctrl+F5. But if I change C# code, I don't see changes after refreshing the website in the browser. How can I compile on the fly?

Upvotes: 0

Views: 469

Answers (1)

Chris Pratt
Chris Pratt

Reputation: 239430

This happens automatically when running out of process. More likely than not, you're working on an ASP.NET Core 2.2 app, where the default process model has now been changed to in process. When running in this model, you must explicitly rebuild. You can edit your project properties to switch back to out of process if you like.

Upvotes: 1

Related Questions