Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2010 Profiler Cannot Locate Symbols

I have a C# console project that references a C# class library project in the same solution. When using the VS2010 Profiler (launched with ALT-F2), I can see timing for methods in both the console project and class library project, but the source code for the class library project is unavailable. Instead, I receive the error message:

"Source code not available. You may not have the appropriate symbol paths."

It looks like symbols for the class library project were loaded:

Loaded symbols for C:\...\MyApp\MyAppConsole\bin\Debug\MyAppConsoleApp.exe.
Loaded symbols for C:\...\MyApp\MyAppConsole\bin\Debug\MyAppClassLib.dll.

Also, Tools / Options / Debugger / Symbols says it's configured to automatically load symbols for all modules except excluded, and the excluded list is empty.

What else can I check or do to resolve this?

like image 301
Eric J. Avatar asked Nov 13 '22 14:11

Eric J.


1 Answers

Maybe this helps: Source code not available. You may not have appropriate symbol paths or there was error loading symbols.

like image 99
Reza Owliaei Avatar answered Dec 20 '22 03:12

Reza Owliaei