PRB: Add-ins fail with 3rd party project kinds in Visual Studio .NET

Author: Carlos J. Quintero (Microsoft MVP) Applies to: Microsoft Visual Studio .NET 2002
Date: July 2004   Microsoft Visual Studio .NET 2003
Updated: March 2013   Microsoft Visual Studio 2005
      Microsoft Visual Studio 2008
      Microsoft Visual Studio 2010
      Microsoft Visual Studio 2012

When you use projects kinds provided by 3rd parties, some features of Visual Studio .NET add-ins can fail not gracefully.

More Information

This is due to the fact that not all project kinds implement the properties used in VB.NET and C# projects and that add-ins use frequently. "Unmodeled" projects can fail to implement some usual properties or methods of the Project, ProjectItem, Window and Document objects. See: MSDN: Unmodeled Projects Overview.

Add-in developers should test carefully their add-ins with these kinds of projects to ensure that the add-ins fail gracefully when some property or method is not implemented.

This is a partial list of project kinds that add-in developers should test:

Related articles

Go to the 'Visual Studio Extensibility (VSX)' web site for more articles like this (Articles section)