There is no source code available for the current location
Of course my code uses some dlls. When I’m in debug mode I then get the message “There is no source code available for the current location”. This is ok for most dlls, but if it’s my own dll I have the source code and could select it. Unfortunately it sometimes happens that I click on ‘Cancel’ and Visual Studio stores it somewhere. Next time i come to this dll I have no option to select the source file again…. so where do I find this option then?
Searching around I found the answer in MSDN at http://msdn.microsoft.com/en-us/library/hdks6de6(VS.80).aspx : It’s stored in the solution! Right click on the solution, select ‘Properties’ and there it is on the ‘Common Properties’ – ‘Debug Source Files’ tab: Do not look for these source files. Remove the entry from there and restart your app. Now you could select the source file again.
Hi this blog is nice,
Thanks so much for this post! I ended up having this problem when I renamed the parent folder – the solution still thought the source files were in the old folder name. You’re suggestion did the trick!
i got the same problem for my Project which is worked on VS studio 2008.
THanks buddy,, it works !!
Thank you for this simple solution …
Excelente post, me soluciono el problema.
Muchas Gracias…
Still the message “There is nosource code is available for the current location”
Sir . i tried that but it still comes the msg …….
Thank, Great