MZ-Tools Articles Series: HOWTO: Get information about the loaded solution from a Visual Studio package.

July 2, 2014

Following with the second and third strategies migrating from Visual Studio add-ins to packages, after defining and implementing an IHost interface, likely you will continue with an ISolution interface with properties like: public interface ISolution { bool IsOpen { get;} string Name { get;} string FullFileName { get;} … } Using the automation model (EnvDTE) […]


MZ-Tools Articles Series: HOWTO: Get information about the Visual Studio IDE from a Visual Studio package.

July 2, 2014

Two of the three strategies that I explained in my last post Strategies migrating from Visual Studio add-ins to packages involve to avoid the use of the automation model (EnvDTE). When you use an EnvDTE object, basically you do one of three things: to get/set properties, to invoke methods to perform actions and to get […]