By default every time you compile a WindowsApplication or ConsoleApplication project using VS2005, a “vshost.exe” and a “vshost.exe.config” files are created on the \Bin\Debug and \Bin\Release paths.
The purpose of these “vshost.exe” and a “vshost.exe.config” files is described here.
To disable this feature you need to:
- Open a project in Visual Studio.
- On the Project menu, click Properties.
- Go to the Debug Tab
- Clear the Enable the Visual Studio hosting process check box.
Another common question is if we need to deploy these files and the answer is No, the "*.vshost.exe" and "*.vshost.exe.config" files are only for use in the Visual Studio 2005 IDE
Pablo
To execute a recipe you need to find out which is the GUID for the DSL. This GUID is different for every DSL project that we create.
So, you need to open the GeneratedCmd.cs class file located at \Shell on the Designer project and search for the following constant:
public const string guidDSLNAMEMenuString = "GUID";
For example if we have a DSL named DSLFoo, then we need to search for the constant named guidDSLFooMenuString.
Once we have the GUID, we need the ID. For the DSL menu it will always be 256.
If we supose that we have a guidDSLFooMenuString constant with a value of “d309f791-903f-11d0-9efc-00a0c911004f“, then the CommandBar will be:
<CommandBar Guid="d309f791-903f-11d0-9efc-00a0c911004f" ID="256"/>
Pablo
Victor, found a way to disable the GAC shell extension at the windows explorer.
You need to create a DWORD entry named DisableCacheViewer with a value of 0x1 at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion
I found another way to do this:
- Open command shell window
- Goto the C:\Windows\assembly path
- Rename the desktop.ini file to any other name. It is a hidden file that is invoking the namespace extension, so you wiil need to do attrib desktop.ini -h -r -s
Pablo