When I try to program an app in xamarin.forms in visual studio 2017 community edition, the IDE hangs, debugging devenv.exe in another instance of visual studio I get the following error:
The PDB file cannot be found or cannot be opened. Thread 0x544 terminated with code 0 (0x0). Exception thrown at 0x76BCC54F (KernelBase.dll) in devenv.exe: 0xE0434352 (parameters: 0x80131622, 0x00000000, 0x00000000, 0x00000000, 0x71990000).
Finally it ends up shutting down visual studio with this other exception:
Exception thrown at 0x6F4A114D (System.ni.dll) in devenv.exe: 0xC0000005: Access violation reading location 0x00000000.
If there is a handler for this exception, the program can continue safely.
Causes of the problem?
There may be many, but the most common are file problems if we have had a previous version of
visual studio
, conflicts between installed libraries of different versions of the program or execution instances of the libraries between different versions ofvisual studio
.How have I solved it?
Completely cleaning previous versions of
visual studio
and doing a complete reinstall ofvisual studio 2017
.We have to make sure that our project can work with the libraries that it is going to install
visual studio 2017
, and make sure that they are installed.