Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No symbols have been loaded for this document VS2015

I have seen several posts regarding this same issue. None have solved my problem. I have recently downloaded VS2015, I had been using VS2012. I open the same project in both, 2015 does not load the symbols and 2012 does. If I open it in 2012 and build it, then open it in 2015 it will load the symbols until I rebuild it. Anyone have any ideas?

One other thing that I thought interesting. I have a Winforms app that I did the exact same process with and the Winforms app works great

like image 885
Jonah Kunz Avatar asked Jul 28 '15 20:07

Jonah Kunz


People also ask

How do I fix No symbols have been loaded for this document?

"No Symbols have been loaded for this document"Go to the Modules window (Debug > Windows > Modules) and check whether your module is loaded. If your module is loaded, check the Symbol Status column to see whether symbols have been loaded. If symbols aren't loaded, check the symbol status to diagnose the issue.

How do you fix the breakpoint will not currently be hit no symbols loaded?

Ensure debug configuration, debug flag, and full debug information are set on all assemblies. Delete all bin and obj folders and all DLL files related to the project from my entire machine. Recreate projects causing the problem from scratch. Reboot.

How do you fix the breakpoint will not currently be hit in VS 2022?

Go to the "bin" folder of your project. Delete the "Debug" folder. Build your project again.


1 Answers

This was a bug with Telerik Data Access. They stopped supporting their visual designer. In order to fix the issue you have to get the updated Data Access from a NuGet package Telerik.DataAccess The installation of the new data access should give you the Q2 2015 DLLs. It will also add a packages file to your project. You also need to open that and change the line

<UseXmlMapping Condition="'$(UseXmlMapping)'==''">false</UseXmlMapping>
to 

<UseXmlMapping Condition="'$(UseXmlMapping)'==''">true</UseXmlMapping>

And also add the following code at the end of your property groups and before item groups

  <PropertyGroup>
    <UseXmlMapping>true</UseXmlMapping>
  </PropertyGroup>
like image 127
Jonah Kunz Avatar answered Sep 28 '22 06:09

Jonah Kunz