简体   繁体   中英

Edit and Continue VS2013 MVC project does't work

I'm working in a company. After I made a update of my code, the Edit and Continue functionality provided by VS2013 seems not work any more. Every time i try changing the code using EnC the VS retrieve the following message:

Changes are not allowed for this module as it was not build for changes while debugging or the target .NET runtime doesn't support it

I check the EnC and the functionality is active.

Any suggestions?

If you are working with ASP.NET application than you can try this.

go to properties > web > Servers, and make sure that "enable and continue" is checked under Use Visual Studio Development Server.

Follow this Debugging support for 64-bit Edit and Continue in Visual Studio 2013

Or https://stackoverflow.com/a/1154063/2798643

Run your project with IIS Express , not Local IIS

Right click project (from solution explorer) > Properties > Web > Under Servers select IIS Express from combo box

So, After I read the answer made by GovindaRajbhar, I check again the post https://stackoverflow.com/a/1154063/2798643 and I see the post made by community wiki after the correct solution, and the problem solved when I follow the point:

Be sure Debug Info in Project Properties > Build > Advanced > Output > Debug Info is set to Full

If anyone have some problem like mine, please follow the post mantion this answer and may solve your problems

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM