Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dynamic compilation still does not work in ASP.NET 5 RC1?

The scenario from the "Dynamic Development" section from here http://weblogs.asp.net/scottgu/introducing-asp-net-5

does not work in ASP.NET RC1. I start a new MVC6 project, run it with the debugger, change some string, save the changes, nothing happens. It does work, however, if I start the project without debugging. Also, it works in console applications, for example, with and without debugging.

I know it was an issue in previous version of ASP.NET 5. Is it still not fixed or am I doing something wrong?

like image 340
Dmitry Avatar asked Dec 07 '25 05:12

Dmitry


1 Answers

Dynamic compilation doesn't work with the debugger attached. You must run without debugger.

Here's my previous answer a little more details: ASP.NET vNext - compile code dynamically not working for me

like image 96
Victor Hurdugaci Avatar answered Dec 09 '25 02:12

Victor Hurdugaci



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!