Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Getting a package to site when the project loads.

$
0
0

I'm a little confused as to when a package will "site" and therefore hit my extension's Initialize() function.

What does "site" mean anyways?  Why not just call it load?

It seems my package only sites after I have clicked on the menu item in View -> Other Windows.  That is useless to me as I am building a post build tool, and I don't want to have to click the menu item every time I want to load build settings.  I want settings to load from a config file when the project loads.

What I want is Initialize() to hit when the project loads.  I understand about the OnProjectLoad() event handlers, but without Initialize() hitting, I can't subscribe to them.

How can I get Initialize() to hit, in my package, when the project loads?

Thanks for any information.


Taylor Deiaco Developer


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>