Visual Studio keeps asking for the location of a source file while debugging?

c# debugging html-agility-pack visual-studio

Question

In my c#-project I use the HtmlAgilityPack. Everything worked fine for weeks, but today, when I run the code in Debug Mode and code related to the HtmlAgilityPack is used, VS keeps asking me for the location of "HtmlNode.cs" which is a class within the HtlmAgilityPack.dll. When I choose "Cancel", VS crashes.

I don´t even have any breakpoints set. I cleaned and rebuilt the solution, deleted obj and bin folders, renamed "HtmlAgilityPack.pdb", deleted the temp-folder in the %APPDATA%-directory and also deleted and re-set the link to the assembly. Nothing worked.

Does anybody know what to do?

1
0
10/8/2015 1:42:53 PM

Popular Answer

To fix this issue you have to enable below under In Debug >> Options >> Debugging/General

  • (Show disassembly if source is not available) under Enable address-level debugging.
0
9/4/2019 12:22:39 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow