Browse Blog Posts by Tags
-
A new sample " UpgradeHelper Sample " is available showing how to register and use an UpgradeHelper . Excerpt: To support VSTA v 1 projects in VSTA v 2 you need to create and register an UpgradeHelper . This helper is triggered when a VSTA v 1 project is opened in the VSTA v 2 IDE. If VSTA...
-
In seamless non-destructive debugging scenarios (macro recording and running) the host application must keep track of the latest version of the “macro” project assembly. The IDE offers the user many opportunities to change settings like the active configuration or the output path which can make it difficult...
-
The sample in this post shows how to support nested types and implicitly declared events in entry point classes (note that the nested type is in the entry point class, but is not an entry point). For types nested in an entry point class, the workaround in Part I is sufficient, no additional changes to...
-
To declare custom events to expose to VSTA, you will need to: 1) Create a delegate outside of any class (VSTA does not support nested types). 2) Explicitly declare the event as the delegate type from above (for more information on declaring events in VB see Part I- Declaring non-custom events to expose...
-
There are now item templates available for the VSTA v 2 HostItemProvider in C# and VB.Net. These templates are compatible with Visual Studio 2005 and 2008. To use these templates: 1) Copy the zip files into %Program Files%\Microsoft Visual Studio %version%\Common7\IDE\ItemTemplates\[CSharp,VB.Net]\1033...