views:

450

answers:

2

I have recently been through the pain of converting an legacy WebSite project to a (C#)Web Application Project. During this time I also migrated the code from VSS control to Subversion on a dev server.

When debugging the application under VS2008 the project can literally take 4/5 minutes to completely load up. The majority of this time the Output Window states that it is loading symbols from Temp ASP.NET directory.

Figuring this may be an issue that it is under SVN control, I exported the project and began debugging without source control and this resolved the issue.

Can anyone suggest why this could be happening, ie. why under source control is it taking such a long time to debug?

+1  A: 

You could try the TortoiseSVN client

The more plugins (Resharper etc) you have for VS the slower things tend to get.

Konrad
I am using TortoiseSVN. As I said though the problem goes away when source is not under source control. So has nothing to do with plugins etc. The issue is particular to having source under source control.
Is VSS perhaps still trying to connect to the files?
Konrad
+2  A: 

Symbol loading shouldn't have anything to do with .svn. If moving your project solved the problem, I'd guess it's something to do with the difference between your actual copy and the exported one. Particularly, I'd say it would be to do with a file unlikely to be committed, like a ".user" file. The ".user" file probably has a lot of extra junk that VS is trying to load, and moving it means they got reset.

Check for any files missing (after a clean export...they'll have been re-created after you open the solution 1x) and you'll probably find the culprit.

jvenema
Excellent advice I will do that now and check if there are any file differences.