Visual Studio Development Bookmark and Share   
 index > Visual Studio Extensibility > Why devenv.exe is working during more than 3 minutes when my DSL setup is running ?
 

Why devenv.exe is working during more than 3 minutes when my DSL setup is running ?

Hi,

My DSL is working fine, but my setup is very slow.

There are 2 progress bar, which run very fast.
Then a third one appears, and it just keep at 0% during 2 or 3 minutes !
If I take a look at my task manager, I can see a devenv.exe is running. If I kill it, the setup ends up immediatly and the installation is fine. If I don't, it last for almost 2 ou 3 minutes.

Why this process is running during a so long time ?

Thanks for any help.
Nicolas Roux  Friday, October 16, 2009 7:58 AM
Hi Nicolas,

The setup/install process can take a while. I'm guessing the delay here is in running a custom action that runs DevEnv.exe with /setup to ensure that the menus/commands/templates are properly updated. Note, most VS SDK packages (including DSL packages) typically add additional menu items to the shell. This is why you have to run devenv /setup when installing the package. This allows the VS IDE (devenv.exe) to rebuild its menus/toolbars/templates including those from the newly installed package.

If you kill the devenv.exe process before it completes, you run the risk of corrupting your menus, toolbars, and project/item templates.

The process can take quiet a while to complete.

Sincerely,
Ed Dore
Ed Dore  Friday, October 16, 2009 8:47 PM
Hi Nicolas,

The setup/install process can take a while. I'm guessing the delay here is in running a custom action that runs DevEnv.exe with /setup to ensure that the menus/commands/templates are properly updated. Note, most VS SDK packages (including DSL packages) typically add additional menu items to the shell. This is why you have to run devenv /setup when installing the package. This allows the VS IDE (devenv.exe) to rebuild its menus/toolbars/templates including those from the newly installed package.

If you kill the devenv.exe process before it completes, you run the risk of corrupting your menus, toolbars, and project/item templates.

The process can take quiet a while to complete.

Sincerely,
Ed Dore
Ed Dore  Friday, October 16, 2009 8:47 PM
Thanks for you reply, I do understand that devenv /setup is necessarly to install DSL.
But this is extremly annoying since it takes several minutes, with no information at all. And most of users thinks it is broken !
And this is pretty sad, since there is no upgrade possibility; users have to uninstall/reinstall each time a new version is available.

Regards,
Nicolas Roux  Saturday, October 17, 2009 12:52 PM

You can use google to search for other answers

Custom Search

More Threads

• Visual Studio 2005 and load AddIns problems
• (VS08) InvalidComObjectException on exist after subscribing to CommandBar event.
• (VB only) "Parent" is always null for indexers in interfaces
• Loading vs_Macro via msi
• ToolWindow - open tool window as editor
• Which classes to use for a Web Application Project
• Single file generator VSPackage registration
• How to copy element from one store to another store in memory - DSL
• Change foreground color of certain text
• Adding a command the the Right Click editor menu in Dev Studio 2003?