Compiling Classes Automatically

Completed

"During normal development, a fast iterative cycle lets you see the effect of your changes immediately, whether it is the effect of adding a new action or changing the way that view model data is selected. For this kind of development, Visual Studio supports detecting changes as soon as an HTTP request is received from the browser and recompiling classes automatically. To see how this works, select Start Without Debugging from the Visual Studio Debug menu. The HTTP request from the browser will trigger the compilation process, and the application will be restarted using the modified controller class".

I can't find how to make this happen in Rider. In VB this works great. After start without debuggin I make some changes in controller. Then just refresh in browser and voila.

4 comments
Comment actions Permalink

there are already better tools for that like recompiling on change. https://github.com/aspnet/DotNetTools 

0
Comment actions Permalink

You can also try using Rider's file watch to trigger builds.

0
Comment actions Permalink

I already fell in love with dotnet-watch. Thanks man! :)

0

Please sign in to leave a comment.