Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"mscorlib.pdb not loaded" yet the mscorlib.dll is NOT missing

I am running my application in VS2012 and I am getting a runtime error; enter image description here

When I look in the "Original Location" I see mscorlib.dll, but not mscorlib.pdb.

Why is this happening and how do I fix it?

like image 346
arame3333 Avatar asked Feb 24 '14 10:02

arame3333


People also ask

How do I get Mscorlib DLL?

Method 1: Download Mscorlib. First of all, you need to download Mscorlib. dll to PC from our site. Copy the file to the program install directory after where it is missing the DLL file. Or move the DLL file to the directory of your System (C:\Windows\System32, and for a 64 bit in C:\Windows\SysWOW64\).

Where is Mscorlib DLL located?

Search for all the Mscorlib. dll files in the %systemroot%\Microsoft.NET\Framework folder and the %systemroot%\Microsoft.NET\Framework64 folder if the folder exists. Click on each of the files, view properties, and click version tab to determine the version installed.

What is the use of Mscorlib DLL?

Answers. It stands for Microsoft's Common Object Runtime Library and it is the primary assembly for the Framework Common Library.


1 Answers

Goto Tools, Options, Debugging, General, Enable Just My Code

This will prevent the debugger from trying to launch on a Internal .NET Framework Assembly.

like image 65
Wallbasher Avatar answered Sep 23 '22 03:09

Wallbasher