Posts

Showing posts with the label Do you want to replace the server file with your local file?

Clearing the Visual Studio Web Cache

Working with Visual Studio 2008 on websites with other developers, I was continually annoyed by the message :- Confirm Save To Web Server A more recent version of the file [filename] has been saved to the Web server by [username] on [DateTime] Do you want to replace the server file with your local file? Yes/No I didn't want to replace the server file with my local file. In fact, I wanted to update my local file with the one from the server if someone else had changed it! This situation got steadily more annoying as more files were changed on the site, meaning that it took many clicks of "no" (would be nice to have had "no to all") just to exit Visual Studio (2008). This message appeared whether or not I had changed a file. Extensive searching on the internet, within help files and looking at options did not reveal anything which helped me. Finally, I pieced together the following which worked for me, and hopefully will work for you. It appears...