Skip to content Skip to sidebar Skip to footer

Htmlagilitypack Debugging Asks For Source Code

I have added html agility pack to my class library in project. Whenever i try to debug the HtmlAgilityPack specific code it opens a browse window asking for a HtmlAgilityPack sourc

Solution 1:

When you include a DLL in your project and step into the code it is not possible to show you a source view because a DLL does not include the source code - only the compiled byte code. If you want to debug you have to tell Visual Studio where the source code is, and to do that you need to download it first.

Alternatively you can just install the .NET Reflector Pro plugin (not free but you can try it for free) and have it automatically decompile the assembly and allow you to step into the decompiled code. This can also be useful if you have a third party product for which the source code is not available.

Solution 2:

Please try the following...

Visual Studio -> Debug -> Options -> Check both "Enable Just My Code" and "Warn if no user code on lunch (Managed Only)"

Options

Post a Comment for "Htmlagilitypack Debugging Asks For Source Code"