Tools to Automate VSTA 2 Integrations: AutoProxyGen and Templates
We have new downloads up including templates and a new tool AutoProxyGen which automates ProxyGen and can be used in build events.
AutoProxyGen:
This tool automates the process of using ProxyGen and can be used as a build event. AutoProxyGen includes workarounds for ProxyGen bugs including automatically excluding structs and ensuring that items which are not marked as excluded are not excluded. AutoProxyGen includes a basic VSTA integration which can be used for further customizations, such as examining the host for custom attributes to specify entry points and excluded items and correcting the inheritance error which prevents COM hosts from exposing events.
A sample add-in demonstrating how to correct the inheritance error for COM hosts is included, other add-ins are available upon request.
Video on MSN Videos: From ProxyGen to AutoProxyGen (text and code may be difficult to read due to compression)
Video for download: From ProxyGen to AutoProxyGen (text and code easy to read)
Templates:
Templates to help automate VSTA v 2.0 integrations are now available. Run the included setup file to move the templates to the Visual Studio 2008 template caches (may need to restart Visual Studio for templates to work).
- Proxy Project- includes all files and post build event necessary to place the proxy assembly in the GAC and rebuild the VSTA pipeline. C# only. (may want to create a new or use existing key.snk file)
- Host Item Provider- Use Find&Replace to replace "YourEntryPointType" with the type of the host entry point. Includes necessary references. Item template. VB & C#
- VstaRunTimeIntegration- Update the variables in the "Variables to update" section including the host entry point type, start-up class for add-ins, and the folder in %MyDocuments% to find add-ins in. Includes necessary references. Item Template. VB & C#
Posted
Oct 01 2008, 03:48 PM
by
Melody