VCProjectEngineObject.CreateObject in MSVS 2012
Our primary development is in C++ and we have internal application, which prepares and updates vcxproject files programatically by Visual Studio interop libraries. Now, we are moving some software from...
View ArticleHow do I programmatically add items to a Project and create the dependency...
Hi, I am programmatically adding a few files to a Project in my extension, but how can I specify dependency of a few of them to a file (like doing the following <Compile...
View ArticleVisual Studio 2008
HiI need to develop code for Windows CE which is only supported in Visual Studio 2008. I can't find any way of purchasing this as it has been replaced with later versions.Any ideas?
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 ArticleOnBeforeOpenSolution - Return error??
What should I return so solution load does not continue if OnBeforeOpenSolution call fails?I am implementing it for a VSIS 2012 application and want to stop loading the solution, if this event...
View ArticleIs there a way to get the application's name from an adding in VS
I am currently working on an addin in VS which supposed to be run on asp.net websites. I select a web page and execute my addIn's tasks. when selecting the web page, I get it's absolute path as the...
View ArticleWhich setting in the "Visual Studio 2012 Color Theme Editor" affects...
So, after giving VS2012 a try a few days at the default settings, I couldn't keep working like that, and I found the "Visual Studio 2012 Color Theme Editor" so I could put some dividers back between...
View ArticleBuild error Unable to copy file. The process cannot access the file because...
Hi,when having a Add-In under development in VS run and applying changes to it and trying to rebuild the solution, I get the following error:Unable to copy file "obj\Debug\MyAddIn.dll" to...
View ArticleWould like to associate an custom file type to XAML files
This is likely a very basic question so please forgive me in advance.BACKGROUNDInitially a XAML file in a C# project has a .cs (code behind) file associated to it. I would like to create a package that...
View ArticleXML extension TTXPathNavigatorVSIX stopped working?
I need a tool of some sort to work with XPath queries when dealing with XML , XSLT etc.So I found this plugin, but after installing it, its as if Visual Studio 2010 doesnt see it. Yes, I restarted...
View ArticleVSProject: Move file to project
Hello,Im developing an extension for Visual Studio and have some questions. I need to create custom project implementation. I created a class that inherits IVsProject3 interface, and it is working! But...
View ArticleEnable source control extension on isolated shell
Hi,We are developing an isolated shell and whould like users to be able to install a source control extension like TFS or Ankh SVN.I tried to install Team Foundation Server 2012 MSSCCI Provider which...
View ArticleVisual Studio 2012/2013 crashes when creating a new custom project type or...
I am trying to create a custom language service for Visual Studio 2012/2013 (there doesn't seem to be much of a difference between these two). The custom language service is for a compiler that has yet...
View ArticleHow to open a read-only document window in Visual Studio
I am working on a Visual Studio Extension which requires that a file be opened in a read-only/not editable document window. I am using ItemOperations.OpenFile method but it only creates a document...
View ArticleAdding my project template to Test->Add New Test Dialog in VS 2010
Hi,I have extended Visual Studio 2010 to add My Project Template.But by default it appears in the 'New Project' dialog.How can I add my project template to 'Test->Add New Test' dialog in VS...
View ArticleDatabase projects
Hi All,I am developing Version control system. I have written following code to get the projects in the solution.Ivssolution.getenumprojects(....) // code.I am getting number of projects for the...
View ArticleOpen XAML Window in Visual Studio Extension and Lock DTE Until window is...
I got a Visual Studio Extension project. In this Project I got a XAML window. In a ContextMenu click, I'm open the window up. Like this:var window = new XamlWindow();window.Show();When I do this I...
View ArticleLanguage Service: Support for color themes in custom colorable items?
Hi everyone,I am about to implement a custom language service that will provide a set of custom colorable items. If I get the MSDN docs correct, this article describes the interfaces I need to...
View ArticleVCProjectEngineObject.CreateObject in MSVS 2012
Our primary development is in C++ and we have internal application, which prepares and updates vcxproject files programatically by Visual Studio interop libraries. Now, we are moving some software from...
View ArticleNewly installed Extensions are not working in VS 2012
We have developed a set of Visual Studio Extensions for 2010 and we were using deployment setup project to install them in single shot. Now we have to upgrade those to 2012.We managed to upgrade the...
View Article