Close
Skip to content

Softwareproduction

Software Development Blog, mainly C# and .NET

  • ASP.NET Core
  • Mobile Development
  • Code Generation
  • General Programming
  • Development Tools
  • Servers
  • Miscellaneous

Tag: EnvDTE

Adding Solution Folders Via Visual Studio Automation

January 23, 2014Munir HusseiniNo Comments

In the Visual Studio Solution Explorer, you can add solution folders to group projects or project items. These solution folders…

Read More 2911 views

Add A Namespace Import Via Visual Studio Automation

January 20, 2014Munir HusseiniNo Comments

Suppose you had a code document represented by a FileCodeModel object. And suppose you were modifying the containing DOM. Sometimes,…

Read More 2215 views

Get The ProjectItem of a T4 Template From Inside the T4 Template

June 10, 2013January 8, 2018Munir HusseiniNo Comments

So you got a T4 template and need access to the ProjectItem of that T4 template or to the parent…

Read More 3860 views

Tell if an EnvDTE.Project is a Web Application

May 31, 2013Munir HusseiniNo Comments

A Visual Studio Extension or Add-In might need to know whether or not a project is a web application (in…

Read More 1527 views

Get Project References From EnvDTE.Project

May 29, 2013Munir HusseiniNo Comments

Suppose you’re developing a Visual Studio Extension and need to enumerate the references of a Visual Studio project. Here is…

Read More 7744 views

Convert IVsHierarchy to ProjectItem or Project

September 28, 2012Munir Husseini3 Comments

The title says it all… here you go: Thanks to Ed Dore in the Visual Studio forums.

Read More 4001 views
(c) 2011-2020 Munir Husseini