This video demonstrates how to use AutoProxyGen and incorporate it as a build event. Covers problems with ProxyGen handled by AutoProxyGen and feature requests that were incorporated.
VSTA 2 can be used to extend a host application to use LINQ in a variety of ways. One example of this is to use LINQ to XML to use an XML file as input. LINQ to XML is doubly convenient because Office products, such as Excel 2007, work well with XML files. Using LINQ to XML to input data that was created...
When an add-in does not communicate with the host for 5 minutes or longer, then attempts to communicate again the error "xxx.rem has been disconnected or does not exist at the server" occurs. This happens both during debugging and at run time and is due to unwanted garbage collection. This is a bug outside...
Post build events are very important in VSTA (versions 1 and 2). They are used to install files in the GAC, organize DLL's for add-in discovery, and in VSTA v 2, to rebuild the pipeline. Here are the files used in post build events by the ShapeApp samples, the commands which run them, and some information...
To remove or "unregister" project templates: The easiest way to remove or "unregister" project templates which are registered with a host is to use the vsta and devenv setup commands. These commands get the VSTA project templates location and the Visual Studio project templates locations specified in...
Overview: Finding DLL’s programmatically can be challenging if they are not well organized. For VSTA integration several DLL’s may need to be found including add-in’s to load. In the ShapeApp samples included with the SDK, the add-in samples copy their DLL’s into the folders %MyDocuments%\%HostID%\AppAddins...