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

后端 未结 2 505
情歌与酒
情歌与酒 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

提交回复
热议问题