문제

I have written a small application in C# using Visual Studio 2010. It is a small "hello world" application and running perfectly fine. But when I try to analyze it using the built-in Visual Studio Analyzer and run the "sample" analysis, it gives the following errors:

Failed to load symbols for C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\clr.dll.
Failed to load symbols for C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll.
Failed to load symbols for C:\WINDOWS\system32\rsaenh.dll.
Failed to load symbols for C:\WINDOWS\system32\KERNEL32.dll.
Failed to load symbols for C:\WINDOWS\system32\ntdll.dll.

How can I resolve these errors so that I can use the analyzer on my application? Any help would be appreciated.

도움이 되었습니까?

해결책

Better late than never :)

You need to enable to your visual studio to download symbols from Microsoft Symbols server.

Click on Tools -> Options, Under Debugging menu select Symbols and check Microsoft Symbol Servers. Run the analyzer again and everything should be fine.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top