ShapeAppBasicCSharpGenericCollectionIndexAdapter sample We’ll assume that you’ve looked over the previous sample from part 2 This sample will demonstrate how to pass a System.Collections.Generic.IList<ShapeAppCSharp. Document > instance, as a ‘by reference’ parameter, from...
Posted to
Gary Depue's VSTA Blog
by
Gary
on
01-26-2009
Filed under:
Filed under: Addin.Contract, Contract, Adapter, VSTA 2.0, ProxyResolve, AdapterResolve, System.AddIn, pipeline, System.AddIn.Pipeline.CollectionAdapters, ByRef, converters, RemoteObjectAdapters
VSTA v 2.0 add-ins use two mechanisms to associate add-ins with proxy assemblies. These include the Global Assembly Cache (GAC) and the VSTA pipeline . Each has separate considerations to take into account when naming your proxy assembly. The Global Assembly Cache (GAC) and Add-in Projects The proxy...
Add-in activation Host app calls System.AddIn.Hosting.AddInToken.Activate. System.AddIn Activate, loads the Add-in.dll creating addin instance that implements the Add-In (entrypoint) interface. Next, System.AddIn loads AddInSideAdapter.dll creating Add-In side Automation Adapter and passes it the AddIn...
ShapeAppBasicCSharpGenericCollectionAdapter sample This sample shows how to pass a System.Collections.Generic. IList <ShapeAppCSharp. Document > instance from the ShapeAppBasicCSharp host application to its add-in by extending the VSTA pipeline with adapters The list provided to the add-in is a...
The VSTA team provides an overview on how to hook custom adapters with VSTA pipeline here
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...