Installed Vsix template is not shown on new project section
Hi,To create a vsix template i repeated the following steps ;- Created an empty web application project - Exported the project as a zip file.- Created a vsix project.- Added template project's zip file...
View Articlerebuild and clean single project using DTE
the solution build object only provide clean for whole solution not single project like build did. Is there way I can automate clean single project. And Is there way to automate a rebuild which method...
View ArticleT4 templates assembly reference
Hi,How can I add assembly reference to my T4 template but not having one in my output but from GAC or some Public assmebly FOlder?this doesn't work ...<#@Assembly Name="MyUtilities,...
View ArticleHow to avoid "The InstalledByMSI element in extension ... cannot be 'true'...
I have followed the MSDN article on creating an item template for VS 2012. My template shows up on the file/new projects. Great.I also followed the article on creating the VSIX project so I can...
View ArticleMicrosoft.VisualStudio.TestTools.WebStress.WebTestSuite
I am looking for this object:Microsoft.VisualStudio.TestTools.WebStress.WebTestSuiteI can't seem to find it anywhere.I am working in the VS2012 SDK and I know this object does exist because it is used...
View ArticleVisual Studio 2012 closes my new solution
HiI am creating a VS2012 wizard to create a C# solution, using a similar approach tothis article, except that I have a New Project template that fires my wizard.This is my IWizard implementation:...
View ArticleVisual Studio 2012 Shell
Hy everyone,I'm trying to create an application with the visual studio 2012 shell. When I started this, I got a window similar to the visual studio window. I read some documentation and learned how to...
View ArticleHow to access source file name and rename it using DTE
the lowest level I can get using DTE is the projectitem which represent the each folder in a project such as inclued file, source file, how can I get to single source file in the source file folder? I...
View ArticleVS 2008 Add In, Acessing a specific Project Configuration item
Hello All,I've been working on an addin that modifies certain project configuration items of all the projects in the currently loaded solution.My method consisted of the following :Project prj;...
View ArticleHow to rename a source file through DTE
I am able to get to the file name by DTE.project.projectitems.item(x).Namebut when I try to set it DTE.project.projectitems.item(x).Name = "new name ", I get a Rename failed exception, is other proper...
View ArticleNotepad++ User Defined Language in Visual Studio
I'd like to use my userdefinedlanguage.xml files from Notepad++ in Visual Studio. How do I export classifiers at runtime?Here is the flow:Visual Studio startsUDLPackage startsUDLPackage loads my *.xml...
View ArticleWhy does FontsAndColorsItems return 19 duplicate entries in Visual Studio 2012?
In Visual Studio 2012, when programmatically requesting the list of colorable items via EnvDTE.Properties ["FontsAndColors", "Text Editor"] item "FontsAndColorsItems", the resulting FontsAndColorsItems...
View ArticleHow Do I Derive Content Type and File Extension from existing ones.
I am creating an extension to the visual studio html editor to help provide some intelligence around data binding syntax for an MVVM library. In order to differentiate between a standard html file and...
View ArticleItemPropertyChange2 VCProjectEngine event is not fired in VS 2013 preview
Hello,I use the following code for tapping project rename for a C++ project from my VS extension.void Init() { vcProjectEvents = mDTE.Events.GetObject("VCProjectEngineEventsObject") as...
View ArticleChange Content Type
As I was reading here in the text editor it is possible to change the content type of a textbuffer. I would like to understand the meaning of this....
View ArticleVisual Studio Extension -Intercept file loading - ITextDocumentFactoryService?
I am writing a visual studio extension which would be used to edit parts of an xml file. I want to intercept the file load, and only load the relevant parts into the editor. I am trying to use the...
View ArticleNOT KNOWINNG THE TYPE OF ASSEMBLY TO IMPLEMENT HERE??
<ObjectDataProvider x:Key="books" ObjectType="{x:Typed:BookData}" MethodName="getallbooks"/>ITS SHOWING ME AN ERROR Error 1 The type 'x:Typed' was not found. Verify that you are not missing...
View ArticleHow to access the selected document in Team Explorer
Hi,I need to programmatically get the properties of the currently selected document in Team Explorer. I tried using IVsMonitorSelection as someone had suggested elsewhere but I didn't get back details...
View ArticleInstalled Vsix template is not shown on new project section
Hi,To create a vsix template i repeated the following steps ;- Created an empty web application project - Exported the project as a zip file.- Created a vsix project.- Added template project's zip file...
View ArticleExtending Visual studio to add my new project type
Hi,I have to extend the visual studio to add new test project type. After selecting that project type it will allow me to options to generate test cases according to the my requirement.Please suggest...
View Article