Eric J.
Eric J.

Reputation: 150108

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?

Upvotes: 5

Views: 1123

Answers (1)

Related Questions