2
Shouts

Some clarity on auto loading Visual Studio 2010 Extensions

posted by sandrinosandrino 988 days, 2 hours, 8 minutes ago
Tuesday, September 07, 2010 2:23:52 PM GMT

In most cases you'll want to build an extension that does something when you click a button, when you type something, ... and this is also the default behavior of your package. The method Initialize() will only be invoked when your action triggers it. So don't worry if Initialize() doesn't get called when Visual Studio starts because this is default behavior.

But what if you want Initialize() to be called when Visual Studio starts? In previous versions of Visual Studio you had the RegisterAutoLoadAttribute which has now been made obsolete.

category: Architecture | clicked: 1 | | source: sandrinodimattia.net | show counter code
tags: Visual Studio 2010, VSIX

No comments yet, be the first one to post comment.

To post your comment please login or signup