Visual Studio 2015 crashes while editing and continuing

In Visual Studio 2015 Enterprise Edition, if I put a breakpoint in code and code in an IF statement, I get a fatal error:

A fatal error has occurred trying to apply code changes, and debugging should be stopped. The operation is not supported. Unknown error: 0x800004005.

Then, Visual Studio is uninstalled.

I'm not sure what might cause the problem or where to look. Any ideas?

+8
visual-studio-2015
source share
2 answers

I had the same problem, but for me I found a solution. In one of our links, we had * in the assembly version field. Therefore, check all referenced assemblies / class libraries. Open the project properties / Application / assembly information and enter, for example, the version of Assembly and Box version 1 0 0 0. For me, it solves the fatal error E & C.

+3
source share

I had similar problems in C ++ when I built a solution from a number of projects in which there were different combinations of / Zi and / ZI flags that determine the format of the PDB file (see documents )

0
source share

All Articles