Dmitry
Dmitry

Reputation: 1330

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?

Upvotes: 3

Views: 897

Answers (1)

Victor Hurdugaci
Victor Hurdugaci

Reputation: 28425

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

Upvotes: 2

Related Questions