Win 7, VS 2010 Professional
Hello,
I'm trying to make small VS package with no UI that listens to build events when building a solution;
Because the solution is built from a script with a command line like: devenv Proxies.sln /Rebuild Debug, this package should be loaded when the devenv starts. I couldn't find any method to force the package loading at startup; the only way to auto-load a package isdescribed in MSDN, but this is bound to UI contexts activations. When doing a command line build, there's no UI.
Next, I tried another approach: adding a command line switch for devenv as describedhere. When you add a command line switch you specify a custom VS package to load; This works - my package is loaded and initialized at start-up if I use my custom switch,but only when /Build or /Rebuild switches are not used. It seems again that it only works if there's UI.
This is exactly the same as another question on the forum that seems it got no solution so far.
To conclude:
- are custom packages usable when doing a command line build ?
- if so, how can they be configured to load at start-up ?
Thank you,
Dan