简体   繁体   中英

Missing .dll under Modules, causing a "no symbols loaded" error. C# Visual Studio 2015

I cannot share the code in question however, my issue stems from a specific project under my solution. It does not load the dll into the modules when debugging. This causes a "No symbols loaded" error when putting in a dot for debug. The -pdb and .dll are both visible in the obj/debug folders. Colleagues running exactly the same code, does not get the error and they can also debug this specific project.

Anyone got any suggestions on what to do?

I have searched around for hours and consulted several senior colleagues without any solution in sight. In short, I need the .dll to load as a module (this also leads to this project not updating for me until the day after, when our solution gets built on our server - creating all manner of issues for my code and debugging possibilities).

Because I do not see the .dll in the modules window, I cannot attach it or force it to load symbols. I have not found any way of manually add the .dll to be loaded.

Found the issue. I had a .XML file that was pointing me wrong. Also, the solution had reverted back to a state where it only loaded one of the projects, thus missing the one that wasn't loading.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM