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

后端 未结 9 1169
感情败类
感情败类 2020-12-13 11:50

I am running my application in VS2012 and I am getting a runtime error; \"enter

When I

相关标签:
9条回答
  • 2020-12-13 12:38

    This thread is old but if you landed here like I did and none of the above solutions worked for you, here's how I solved this impasse: In my case the exception began to appear after I changed the "Assembly name" in the "Application" tab of the properties window. If that's the case with you try reverting to the original name and see if the exception disappears. Perhaps the reason for this was that the new name did not match the "AssemblyTitle" in the "AssemblyInfo.cs"

    0 讨论(0)
  • 2020-12-13 12:42

    Goto Tools, Options, Debugging, Symbols and set a cache location. Then hit load in the above and it will fetch the necesary symbols for you and store them in the cache location you provide.

    Microsoft's compiler tools create symbols in separate files with a .pdb extension (program database). This allows them to create detached symbols for release binaries. With a symbol server, your IDE can fetch the symbol file matching the specific version of the DLL during debugging. You can configure this system for your own product binaries as well which can be very useful for post-mortem debugging any crashes on end-user machines.

    See Microsoft's documentation for more details about using their public symbols.

    0 讨论(0)
  • 2020-12-13 12:47

    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

    0 讨论(0)
提交回复
热议问题