Showing posts with label VS2003. Show all posts
Showing posts with label VS2003. Show all posts

Monday, 1 March 2010

VS2008: The breakpoint will not currently be hit. No symbols have been loaded for this document.

My VS instance crashed while I was trying to add a WCF service. Had to terminate the process. But when I restarted, I noticed strange behaviours with the IDE. I could no longer debug my project and would receive an error stating that "The breakpoint will not currently be hit. No symbols have been loaded for this document."

A bit of googling found this article.

The solution for me was to:

1. start debug
2. ctrl+alt+u.
3. Look for project in list and note path.
4. Close VS.
5. In explorer navigate to cache location in step 3, delete location of the cache usually under C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\xxx
I just deleted everything in root.
6. Deleted both bin and obj folder of each project.
6. Restart VS
7. Rebuild




Thursday, 2 July 2009

VS2003: Change or Move location of VSwebcache folder

The cache is usually located at :-

C:\Documents and Settings\username\VSWebCache
.

The path can be changed but only via the windows registry :-

HKCU\Software\Microsoft\VisualStudio\7.1\WebProject\OfflineCacheDir
.