ShapeAppBasicCSharp AddInDiscoveryAlternative
01-27-2009
Downloads: 681
File size: 674.1kB
Views: 3,183
 |
ShapeAppBasicCSharp AddInDiscoveryAlternative |
This sample is a modified version of the SDK ShapeAppBasicCSharp sample demonstrating a different add-ins discovery scenario. No add-ins are loaded automatically, instead the default add-in location (%MyDocs%\ShapeAppCSharp\AppAddIns) is searched and any add-ins found are added to a list. This list of discovered add-ins is displayed on a form which the user can load or unload the add-ins from. The user may also use this form to discover add-ins from other locations.
Three add-ins are included with this sample- two use the default post build event which copies the add-in assemblies to the default search location, the other uses a modified post build event to copy the add-in assembly to an alternate location (%MyDocs%\ShapeAppCSharp\AppAddIns).
To use this sample, run the included setup file then open and build ShapeAppBasicCSharp.sln. This will take care of registering the ShapeAppCSharp host with VSTA, registering the proxy, and building/moving the add-ins.