Gorlikov,
After further review of the ShapeAppMFC sample I believe this should be a good example for you. Please take a look at this sample, and how the host calls into the external VstaIntegration library. This library should also be a good starting point for you. To apply this sample to your application, follow the steps outlined in the SDK walkthroughs- most of them will be the same. Here is a link to the on-line documentation, please use this instead of the documentation included with the SDK because it has some important updates in it.
For the walkthroughs,
1) Creating a Proxy Assembly- no changes
2) Creating Project Templates- no changes. To use the discovery method of the ShapeApp samples you will need to manually modify the project templates adding a post build event which moves the add-in assemblies to a known location. Here is a link to a video which will walk you through this.
3) Modifying ShapeApp to discover and load add-ins- try to emulate the ShapeAppMFC sample using the VstaIntegraion library,
- Update the HostItemProvider using your entry point type (specified in the proxy) instead of ShapeApp.Proxy.Application.
- Replace the HostTypeMapProvider file with the HostTypeMapProvider file created by ProxyGen.
- Update the VstaApplicationIntegration file with your entry point type instead of using ShapeApp.Proxy.Application, update the location to search for add-ins in, and update the class name with the host item name specified on the 3rd screen of ProjectGen.
4) Incorporating the IDE- try to emulate the ShapeAppMFC sample.
If you have any questions or run into a problem with the walkthroughs or samples, please let me know.
Thanks,
-Melody