Top "Envdte" questions

EnvDTE is an assembly-wrapped COM library containing the objects and members for Visual Studio core automation.

Programmatically getting the current Visual Studio IDE solution directory from addins

I have some tools that perform updates on .NET solutions, but they need to know the directory where the solution …

c# visual-studio solution envdte vs-extensibility
Setting the OutputPath property of a project via Visual Studio Automation

I'm writing a VSIX package to allow the user to bulk-edit the OutputPath property of all the active configurations of …

c# visual-studio-2012 msbuild envdte
devenv process keeps running in background after I close Visual Studio 2015

Problem When I close Visual Studio 2015 by pressing the close button on the IDE, the devenv.exe process keeps running …

.net visual-studio visual-studio-2015 envdte devenv
Add an Item to the visual studio folder right-click menu within AddIn

I want to add a menuitem to the right-click=>Add menu in visual studio 2012 solution explorer. When click the …

c# visual-studio add-in envdte project-template
How to get list of projects in current Visual studio solution?

When we open Package Manager Console in any open solution, it shows all the projects of that solution. How it …

c# visual-studio-2012 envdte
EnvDTE not found in VS2012 works in VS2010

I'm using EnvDTE to do some code generation within my T4 Templates. I have the code working correctly in Visual …

t4 visual-studio-2012 envdte
How to find a ProjectItem by the file name

I'm developing a custom tool for the Visual Studio. The tool is assigned to the file, at the time when …

c# .net visual-studio envdte
Get the reference of the DTE2 object in Visual C# 2010

I want to get a reference to the current solution, using the DTE2 object with C# in Visual Studio 2010. I …

c# visual-studio-2010 add-in envdte
Adding solution-level items in a NuGet package

I want to add solution folders and solution items (not projects) to a solution file via a NuGet package. I …

.net powershell nuget envdte
Visual Studio 2010 DTE: How to make added DLL reference absolute and not copied

Summary: We need to duplicate the behaviour of the Add Reference dialog, using DTE, when you add a specific DLL (…

visual-studio-2010 envdte project-reference