Does anybody upgraded VSTA 2.0 Add-in development to VSTA 2012? if Yes,
Could you please help me on this subject "How do I expose my COM host object to the VSTA add-in?"
i am working with VSTA 2012, The sample application which comes with VSTA 2012 "MyVSTAHost" doesn't cover exposing host object to vsta add-in.
where as in vsta 2.0 shapeappadvancedmfc covers this, but i no longer able to use hostitemprovider and contract concept in vsta 2012 as it is no longer supported in vsta 2012.
note: In VSTA 2.0 i am able to invoke my host application dispinterface methods with the add-in but do know how to do it in VSTA 2012, i dont see the support of poxygen in VSTA 2012 and some of the runtime namespaces are no longer supported in VSTA 2012.
Thanks and regards,
Nayaz
Use the Visual Studio Package Template:
References
Visual Studio Interop Assembly Parameter Marshaling
Walkthrough: Creating a Menu Command By Using the Visual Studio Package Template
FAQ: Converting Add-ins to VSPackage Extensions
Interop Marshaling
Microsoft.VisualStudio.VCCodeModel Namespace
Automation Object Model Chart
Add-ins officially deprecated in Visual Studio 2013
Visual Studio Extensions: from Add-in to VSPackage
Implementing VSPackages By Using the Visual Studio Library
Converting a Visual Studio macro to a Visual Studio plugin
Implementing Enumeration Inheritance using Roslyn based VS Extension
Developing a Visual Studio 2012 Team Explorer Extension for Search and Replace in Work Items
Walkthrough: Exploring COM Interoperability with ATL and Managed Extensions for C++