Saturday, November 1, 2008

Copying items to the clipboard in VS 2005 caused snippets to appear in the Toolbox

Problem:

When I would copy code to the clipboard while in Visual Studio 2005 and 2008, the text that copied would appear as a snippet in the Toolbox. The Toolbox would eventually fill-up.


Solution:

Delete local Toolbox files and the problem goes away.


Thanks to the poster NoiseMaker at http://forums.asp.net/p/993239/1339348.aspx, I was able to get past this problem. In his entry, he deleted the following files:

C:\Documents and Settings\MyUser\Local Settings\Application Data\Microsoft\VisualStudio\8.0\toolbox.tbd
C:\Documents and Settings\MyUser\Local Settings\Application Data\Microsoft\VisualStudio\8.0\toolbox_reset.tbd
C:\Documents and Settings\MyUser\Local Settings\Application Data\Microsoft\VisualStudio\8.0\toolboxIndex.tbd
C:\Documents and Settings\MyUser\Local Settings\Application Data\Microsoft\VisualStudio\8.0\toolboxIndex_reset.tbd


My files were in a different place because I'm on Vista, but the solution still worked for me. Btw, my (tbd) files were in the following location:

C:\Users\jaclimer.CXP\AppData\Local\Microsoft\VisualStudio\8.0\toolbox.tbd

No comments: