Microsoft.VisualStudio.Text.Operations.FindData and Regular Expressions
I'm developing a VSPackage using MEF and trying to find all trailing space in the current document using ITextSearchService.FindAll, but I'm having problems with FindData's regular expressions. It...
View ArticleTextTransformation With Vs Package
I have used T4 Text Templating For my Vs Package.am using Customlinecommandhost for transformation.After Transformation the Output file contains Unnecessary lines.the output is as follows.Namespace...
View ArticleVisual Studio Extension (VSPackage) runs in all Experimental Instances, but...
I am writing a Visual Studio extension which targets VS2010, VS2012, and VS2013. It runs and is initialized successfully in each Experimental Instance with no issues. When I install the VSIX generated...
View ArticleVSpackage different behaviours
I developed a VSPackage, for some reason when i'm running in debug mode everything works just fine. I now tried to instal the VSIX to my VS2010, and for some reason the Background worker inside my...
View Articleconnexion de word avec vb.net
Bonjour; je voulais créer un fichier word à partir d'une application vb.net; le problème si que je me bloque sur l'exception:L’appel a été rejeté par l’appelé. (Exception de HRESULT : 0x80010001...
View ArticleRobust solution to manage programmatically Visual Studio Bookmarks ?
I am trying to generate bookmarks in the Bookmark Window.At first I tried to create an add-in. As I cannot find a BookmarkWindow object in theDTE2 interface, I tried to use commands such...
View ArticleUse "Find Symbol Results" Toolwindow
Hi,Does anybody know a simple way to use the "Find Symbol Results" toolwindow? Suppose I already have a list of results and simply want to present it to the user using the already existing toolwindow,...
View ArticleWhat are the correct arguments for Solution.GetProjectTemplate() to get the...
I want to add a web project to my solution using the 'ASP.NET Web Application' project template. Through trial and error I found the right project template in my VS 2013 folder, under "C:\Program...
View ArticleShell Isolated and IVsSolutionLoadManager
Hi. I am created an application based on Visual Studio Shell Isolated. But I have an problem with IVsSolutionLoadManager implementation. It doesn't work in Shell Isolated mode. Here is my code:public...
View ArticleHierarchy of an item
hi .I have local path of an item. How can i hierarchyIIvshierarchy) of the same item.Regards,BHEEM.
View ArticleHow to wait for Visual Studio to exit using automation (EnvDTE)
Hi,<o:p></o:p>I am using automation to launch Visual Studio as an editor for a script system.<o:p></o:p>I have successfully automated the creation of a temporary solution and...
View ArticleText tagger (TextMarkerTag, IViewTaggerProvider etc) - Is there a way to...
I'm creating a text tagger that can be enabled/disabled via a toolbar button. IViewTaggerProvider.CreateTagger gets called automatically when a text document is opened. However if I return null here...
View ArticleC# code to get main window of devenv.exe
Hi,I have a vs2012 extension and need to get the main window of devenv.exe. I am getting the correct window handle (I've checked it is the one that is shown by spy++), but the NativeWindow.FromHandle...
View ArticleUpdating threads name from VS 2013 Threads window (after a breakpoint is hit?)
Hi all,as we already know, the RaiseException approach is generally used for setting the thread name inside the VS IDE Threads window.This works fine for the case when the number of thread name changes...
View ArticleDeploy to experimental instance deploys to wrong location after upgrade to...
Hi,I have an extension that is deployed against Vs2005/Vs2008/Vs2010/Vs2012 and I am planning to extend this to deploy against Vs2013.After upgrading my solution to Vs2013 the Vs2012 VSIX is no longer...
View ArticleExample code does NOT work "Walkthrough: Displaying Statement Completion"
As stated above I tried to follow the walktrough for displaying statement completionhttp://msdn.microsoft.com/en-us/library/vstudio/ee372314%28v=vs.100%29.aspx(VS 2010)and it does not work.I even tried...
View ArticleInvalid Creation of Package
REALM:VS 10 UltimateCreating a Visual Studio Package from the templateI include all three possible components in the wizard 1. A Tool Window of WPF 2. A Menu command 3. EditorEvery time a create a...
View ArticleVS Package - Add custom editor windows to Visual Studio window panes
My ProblemI'm trying to build an extension to Visual Studio that allows code to be edited on a per-function basis, rather than a per-file basis. I'm basically attempting to display code in a similar...
View ArticleHow to create an editor with a projection buffer?
I'd like to create an editor to a custom view engine, which hosts C# code around some barriers (let's say <source></source>). In VS2008 this was done by the TextBufferCoordinator, secondary...
View Articlevisual studio 2013 extension and xml syntax coloring seem not to be able to...
Hello all, I built a VS2013 language service for an xml-related language. This extension works properly as long as I do not define xml syntax highlighting for files having the relevant file...
View Article