When a file is open in the 开发者_开发技巧visual studio editor, through the EnvDTE.Document.Language property a string result such as \"CSharp\", \"C/C++\", \"HTML\", \"JScript\", etc. is returned spe
I am writing na Add-In for Visual Studio 2010, and I want it to add controls to an existing Form in an existing Project in an existing Solution, and I already have references to all of them.
I\'ve got a designer that relies on the existence of other solution items.If one of those items is deleted the designer crashes and you have to edit as XML to fix.Not exactly user friendly.
Given a type name, is it possible to use DTE to find the ProjectItem that the type is located in? Something similar to how the Navigate To... dialog works in Visual Studio 2010.
I have a class I am serializing with C#\'s XmlSerializer. It is marked with the XmlRoot attribute, and I would like to inherit this attribut开发者_开发技巧e in a derived class.