VioletGiraffe/cppcheck-vs-addin — pull request #12 by Dmitry-Me (2014-02-06 14:20:55+00:00)
Title: Use dynamics to avoid binding to specific version interfaces.

This pretty much gets rid of Microsoft.VisualStudio.VCProjectEngine static dependencies which resolves the following problem (reported here https://github.com/VioletGiraffe/cppcheck-vs-addin/issues/10#issuecomment-34039855 )

>I can't make the same package work for both VS2012 and 2013 (2010 is out of the question for now, there's a problem with manifest file for it). I've just built the project from repository (which is for VS2012) in 2013, and installed the package into both VS2012 and 2013. As soon as I save a file in 2013 I get a message: "Exception occurred in cppcheck add-in: Unable to cast object of type 'Microsoft.VisualStudio.Project.VisualC.VCProjectEngine.VCProjectShim' to type 'Microsoft.VisualStudio.VCProjectEngine.VCProject'."
This is beause the project is importing v11.0 assemblies, and VS2012 uses v12.0.