Why doesn't Edit and Continue work in Visual Studio 2015?

I cannot get "Edit and Continue" to work in Visual Studio. It does not work with the message "Changes are not allowed if the project was not created when starting debugging."

I am debugging an ASP.NET Core (1.1.0) Web API application using the .NET Framework 4.6.1 and Entity Framework 6.1.3.

I am using Visual Studio 2015 Enterprise Update 3 with IIS Express.

I have editing and continuing under "Tools"> "Options"> "Disable"> "Enable editing and continue."

I have IntelliTrace installed for IntelliTrace events only in Tools> Options> IntelliTrace> General. Disabling IntelliTrace did not solve the problem.

I also added COMPLUS_FORCEENC = 1 to the system environment variables.

Any other ideas?

+4
source share
1 answer

Editing and continuing is not yet supported for .Net Core, at least in VS2015 U3. I ran into the same problem, and so far I can’t find any specific references to it, there seem to be hints in some places. Here are some links that may support this statement:

https://github.com/dotnet/coreclr/issues/7902

https://github.com/dotnet/roslyn/pull/16197

I still need to try VS2017 RC, maybe there is support there. If you found anything else after posting, I would be happy to hear about it.

+1
source

Source: https://habr.com/ru/post/1668315/


All Articles