Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

In Visual Studio 2008 Professional Edition, I have a recurring issue that I deal with every morning. I bring up a web site (by opening the .sln file) and it fails to remember my "start action" from the last time I worked with the site. Other developers in the department do not have this problem. I assume this setting is stored in the SLN file, and the SLN file does in fact get committed to revision control, so I would expect the behavior to be consistent across the department, but it is not. Every time I go into the "Start Options" in the project "Property Pages", it is set as "Use Current Page".

I need it to be set to start at a specifc page, and I need it to remember this forever. How can I fix this?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

The "Start Options" is not saved in the .sln file. It is saved in a WebsiteCache folder which is located at: "User Profile Folder\Local Settings\Application Data\Microsoft\WebsiteCache" in an xml named "Websites.xml".

For some reason, this folder must be getting cleared on start up in your PC. Hence the issue. Or VS2008 may not be looking into this folder. Only solution is check if the file is really getting cleared & by whom.

share|improve this answer
    
Thank you so much! I am going to start investigating this right now. –  Josh Stodola Nov 4 '09 at 17:05
    
Hmmmm, I think that file somehow got corrupted because I cannot even open it now. There is no XML data. I viewed it in a binary editor, and it is 46KB worth of low-values (all bits off). I think I will try to delete this file and see if it works. –  Josh Stodola Nov 4 '09 at 17:10
    
That was it! Somehow the file got corrupted and wiped out. I deleted the file, brought the solution up in VS2008, set the start options, and now I have a valid XML file with one entry. Thank you very much for your help, Ganesh! –  Josh Stodola Nov 4 '09 at 17:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.