Questions tagged [visual-studio-addins]

Add-ins extend Microsoft Visual Studio using the automation model (EnvDTE). Removed in Visual Studio 2015.

452 questions
0
votes
1 answer

How do I get the current Project Template Name?

I have DTE.Project object - How do I get from there the Project Template Name? I'm trying to detect the project template so I would be able to later on recreate it programmatically. if I have the name i can do it. Is that the right way to go? I've…
Elad Katz
  • 7,483
  • 5
  • 35
  • 66
0
votes
1 answer

visual studio addon versioning / loadin addon in different app domain

I have an addon to visual studio 2010 for our internal purposes. The addon uses 2 libraries we commonly use, but they change time to time. After the studio starts, it loads the libraries into its application domain. the problem comes when you need…
0
votes
0 answers

Deploy vsix referenced dlls

I have a visual studio extension project which uses some external library. More over that library uses another library which must be placed in the same folder with the exe file. (in our case it is Visual Studio folder. Folder where Visual Studio was…
0
votes
1 answer

Provide input for visual studio add-in

How can I provide input parameters (like text to be written in a file) using a Visual Studio Add-In? Can I use the ref object varIn parameter of the Exec method and if I can how?
Unknown
  • 1,377
  • 1
  • 15
  • 33
0
votes
1 answer

Visual Studio addin - catch "SelectionChanged" (editor) event

I'm trying to catch all user text navigation events (selection changes) in the text editor to update a tool window (contextual to the current position). The "LineChanged" event under TextEditorEvents only fires on updates, and I did not manage to…
Arielr
  • 447
  • 3
  • 13
0
votes
1 answer

Get Imports of a Project in Addin VS2008

I need get a list "Imports" of project in Addin VS 2008 - .NET 3.5. In VS2010 - .NET 4.0, I use: EnvDTE.Project project = GetProject(); var project1 = new Microsoft.Build.Evaluation.Project(project.FullName); project1.Xml.Imports.ForEach(i => { …
Kiquenet
  • 14,494
  • 35
  • 148
  • 243
0
votes
3 answers

VS2008 Addin add to menu

I'm using this code to add an item to the code window right click menu: public void OnConnection( object application, ext_ConnectMode connectMode, object addInInst, ref Array custom) { _applicationObject = (DTE2)application; …
ewanm89
  • 919
  • 5
  • 22
0
votes
1 answer

Visual Studio 2012 Solution Explorer extension

I need a little VS 2012 solution explorer extension and need your help. I already made a extension for VS, but never for the solution explorer. What I need is simply, I think... I have a class called "test.cs" in folder "a" and now I add a file…
SharpNoiZy
  • 1,099
  • 2
  • 11
  • 22
0
votes
1 answer

Preview file in VS11 Solution Explorer

I have a Visual Studio extension which generates a script file and adds it to the current project. I want to take advantage of the file preview feature in the Visual Studio 2012 Solution Explorer so that the file is previewed when it is added to the…
Dan Nolan
  • 4,733
  • 2
  • 25
  • 27
0
votes
1 answer

How should Qt addin be fixed with added Qt files?

I use MS Visual Studio 2010, Qt 4.7.3, Qt addin 1.1.11. I've added ui,cpp and h files from Qt Designer. But the addin does not add custom build steps for them. The older gui forms worked well within that project. I've met the answers which concern…
ilya
  • 1,103
  • 14
  • 36
0
votes
10 answers

"Must have" Visual Studio addons

So - this is a question to all the Visual Studio users out there - what addons do you use, and can't live without - and why ?
nos
  • 223,662
  • 58
  • 417
  • 506
0
votes
0 answers

Visual Studio 2010 addin /Projects with GUI

I'm trying to figure out how to do a VS2010 add in with gui, (like a simple popup with a few fields and an enter button) I found stuff on stack that says Visual Studio (2010?) projects is what I need (instead of an addin) but all the tutorials I can…
Eric Brown - Cal
  • 14,135
  • 12
  • 58
  • 97
0
votes
1 answer

How can i format aspx-markup as html to show it on webpage

i've been using C. Coller's excellent CopyAsHtml-Visual Studio addin for copying C# code as html to a webpage. Now, i started to wonder if there exists a similar tool for converting the aspx-markup to valid html to show on page? Functionality that…
juarola
  • 689
  • 2
  • 10
  • 20
0
votes
1 answer

How do I add a couple of options to my addin menu?

Im really struggling with this. I want to create an item in the tools menu so that I have... tools --> myaddin --> my option 1 --> my option 2 --> my option 3 I just cant work out how Im meant to do it. Its…
Exitos
  • 29,230
  • 38
  • 123
  • 178
-1
votes
1 answer

Word Add-In Tabstops

Hi I'm looking for any idea to make something like that: Some Text--------------------------------------------------- This "------" I have to make on button click to the end of line. My idea was to make it on tabstop with dashed leader, but it make…
1 2 3
30
31