“mscorlib.pdb not loaded” yet the mscorlib.dll is

2019-02-02 02:09发布

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?

9条回答
可以哭但决不认输i
2楼-- · 2019-02-02 02:43

if you have this type of project runtime error in visualstudio Answer:Cntr+Alt+E open Exception window Uncheck All chechboxes Must and shoud its working written by B sriram Mca Giet College rajahmundry, east godavary ,2014 batch

查看更多
唯我独甜
3楼-- · 2019-02-02 02:46

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

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

查看更多
走好不送
4楼-- · 2019-02-02 02:46

I had this issue when I was using a static variable, whose value is assigned off a static method.

So, whenever I ran the application, this line of code threw exception. If you place a debug point on this (like I did), you will notice the exception being thrown.

查看更多
登录 后发表回答