Home » Questions » Computers [ Ask a new question ]

Visual Studio 2008 does not Remember my "Default Page" for Web Sites

Visual Studio 2008 does not Remember my "Default Page" for Web Sites

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".

Asked by: Guest | Views: 60
Total answers/comments: 1
Guest [Entry]

"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."