views:

815

answers:

4

Is there any way to prevent Visual Studio from creating a VSMacros80 folder in my default project directory?

A: 

Check this thread.

Biri
A: 

I could not find the previous thread, because I was searching for "vsmacros" instead of "vsmacros80".

There are currently 5 different entries in Tools->Options->Addin/Macro Security

%ALLUSERSPROFILE%\Application Data\Microsoft\MsEnvShared\Addins
%APPDATA%\Microsoft\MsEnvShared\Addins
%VSAPPDATA%\Addins
%VSCOMMONAPPDATA%\Addins
%VSMYDOCUMENTS%\Addins

Can you tell me which one I have to delete?

xsl
+1  A: 

Sorry, I was wrong. This directory will allways be created. You can only set it's path in the Options/Projects and Solutions/General screen in the Projects location.

But be careful, because it also means that your standard project directory will be this directory. You cannot avoid VS to create this directory.

Biri
+3  A: 

I just found it out myself: If you add a trailing backslash to the Project Folder setting e.g. changing it from C:\dev to C:\dev\, the VSMacros80 directory will no longer be created.

I tested it with Visual Studio 2005 SP1, with all windows updates installed.

xsl