ASP.NET vNext - compile code dynamically not working for me

后端 未结 2 503
情歌与酒
情歌与酒 2021-01-01 19:49

I\'ve run through the tutorial on this here: http://www.asp.net/vnext/overview/aspnet-vnext/getting-started-with-aspnet-vnext-and-visual-studio

I am following step 7

相关标签:
2条回答
  • 2021-01-01 19:56

    You are probably running with the debugger attached. The file watcher doesn't work with the debugger attached. Why? Long story short: IIS (express) is restarted to pick up assembly changes, so that would not work with the debugger attached because it would kill your debugging session.

    Start the website without debugging, then change a code file and refresh - magic happens.

    Later edit: To start the application wihtout debugging either use Ctrl + F5 or Debug -> Start without debugging

    0 讨论(0)
  • 2021-01-01 19:57

    It seems, that this is a know issue, that will hopefully get fixed later https://github.com/aspnet/Home/issues/22

    0 讨论(0)
提交回复
热议问题