3

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?

Dmitry
  • 1,220
  • 2
  • 11
  • 18
  • Do you launch project from visual studio or from console ? – Stas Boyarincev Dec 20 '15 at 16:39
  • From Visual Studio. If run from console, it will run without the debugger, and therefore will work fine, I suppose. – Dmitry Dec 20 '15 at 16:59
  • Possible duplicate of [ASP.NET vNext - compile code dynamically not working for me](http://stackoverflow.com/questions/24082161/asp-net-vnext-compile-code-dynamically-not-working-for-me) – Victor Hurdugaci Dec 20 '15 at 18:03

1 Answers1

2

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

Community
  • 1
  • 1
Victor Hurdugaci
  • 28,177
  • 5
  • 87
  • 103