There is an AddIn on CodeProject (http://www.codeproject.com/dotnet/VersioningControlledBuild.asp) that I really like but can't install on my primary dev...
Few days ago one of the Chinese users of my add-in ran into the same problem. On my English version I prefix all binding keys with "Global::". Unfortunately,...
Hello, can anybody tell me how to accesss the text of a document and how to make a selection, I was looking for stuff like shown below but didn't find anything...
Hi Frank, You can use Text Editor Object Model to achieve the goal. Here is a macro code snippet you can try: Sub TextSelectionFindPattern() Dim td As...
How to get output assembly path for .NET compact framework project in VS using DTE ? I've searched all the project properties, but I could not find any ...
I'm going to integrate with MSVS .Net. I'm essentially goign to be executing from a command prompt, and I'm using the following code: msdev [solution] [file]...
I have been having this problem for a while. I have realized that for files that are over 120 KB's, the MDE is very slow. This was not the issue with VS 6.0,...
Hello, I would suggest that you check whether you have a visible view that automatically refresh when the code editor changes (for example the Dynamic Help and...
... Assuming it is a normal source code file, it looks like it could need a little redesign to split the file into smaller ones. You don't find anything in...
You can try proj.Properties.Item("OutputPath").Value.ToString() to get the value where proj is an instance of Project. I haven't tried this myself but a...
You can use EditPoint to get the text of the entire doc. Try below macro: Sub getText() Dim td As TextDocument = DTE.ActiveDocument.Object Dim ep As EditPoint...
The OutputPath is a property of hte Configuration object and not the project and thus to access that you need to get to the Configuration object. The following...
Hi, Here I am here with some more questions regarding the communication with VS.NET IDE in my C# AddIn. 1) I am diverting some of my output of AddIn to...
Hello, I was trying to add a submenu to Tools menu with two items on it. I created an Addin with the wizard and then modified the Onconnection metthod to add a...
... I do something like this to add a new submenu: CommandBar parentBar = dte.CommandBars[ "Tools" ]; bar = (CommandBar)context.DTE.Commands.AddCommandBar(...
... I believe you also need to call Activate() on the outputWindow object, before activating the pane. At least, that's what Ankh does, and it works. The...
Thanks a ton !!!! I was able to accomplish what I was trying to do. -- Sangeeta ... it. I ... Onconnection ... but ... could ... parentBar, ... other...
Is there a way to programmatically show the Add New Project dialog or the New Project dialog with Add to Solution box ckecked by default? Basically, I need to...
... The Project.ProjectItems.Add* methods can be used to add new files, while ProjectItem.Remove can be used to remove existing ones. -- Arild AnkhSVN:...
I think you can use DTE.ExecuteCommand("File.AddNewProject"). While the New Project dialog shows the "Add to Solution" and "Close solution" radio buttons, the...
Carlos, Unfortunately, DTE.ExecuteCommand("File.AddNewProject") does not allow to set a default selection to a desired project type in the Add New Project...
Hello Robert, This is just a guess, but maybe you can invoke the wizard explicitly with DTE.LaunchWizard, and pass the appropriate context parameters. The...