A personal repository of technical notes. - CSC

Remove Connections from MRU of Visual Studio 2005 Copy Web Site Tool

Problem
Need to remove obsolete connections from most recently used (MRU) list of Copy Web Site Tool.

Solution

To remove a connection to a remote site that still exists:
1. From the Connect to list, select the connection that you want to remove.
2. Click the Disconnect from currently selected remote site button.
(MSDN)

To remove a connection to a remote site that no longer exists, edit contents of:
C:\Documents and Settings\[user name]\Local Settings\Application Data\Microsoft\WebsiteCache\[Web Site Name]\PublishState.xml

Remove obsolete <RemoteSite> sections and corresponding <PublishStatus> sections.

References
"How to: Copy Web Site Files with the Copy Web Site Tool." MSDN: Microsoft Developer Network. 12 Feb. 2009
http://msdn.microsoft.com/en-us/library/c95809c0(VS.80).aspx.

"Copy Web Site - how to remove connections from the list - ng.asp-net-forum.visual_web_developer_2005_express - error problem solve @CodeVerge." CodeVerge.Net - error problem solve @CodeVerge. 12 Feb. 2009
http://www.codeverge.net/ng.asp-net-forum.visual_web_developer_2005_express/copy-web-site-how-to-remove-connections-from-the-list.

"Re: How to remove a Connection from Copy Web Site list?" Tech-Archive.net: The source for usenet news. 12 Feb. 2009
http://www.tech-archive.net/Archive/VisualStudio/microsoft.public.vsnet.general/2007-06/msg00003.html.

No comments:

Post a Comment