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

Category: Development Tools

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 1757 views

Automatically Loading VSIX Packages

December 11, 2013Munir Husseini1 Comment

So you’re creating a VSIX package that does not have a menu items, tool windows or command? But still you…

Read More 2043 views

Use T4 Templates For XSLT Transformation

September 20, 2013Munir HusseiniNo Comments

Suppose you have XSLT style sheets that produce some code from XML files. Now suppose you want to integrate these…

Read More 3069 views

Resolve Visual Studio Macros In VSIX Packages Or T4 Templates

September 18, 2013Munir HusseiniNo Comments

We all love Visual Studio Macros, right? Pre- and Post-Build actions or MSBuild scripts would get very nasty if there…

Read More 1991 views

Inheriting a T4 Template and Calling EnvDTE.DTE: The System Cannot Find The File Specified

September 16, 2013Munir Husseini2 Comments

Some strange behavior occurred today when I tried to encapsulate some functionality of a T4 template into a base class.…

Read More 3350 views

Write To Visual Studio’s Output Window

June 6, 2013Munir HusseiniNo Comments

If you have developed a Visual Studio Extension, you might want to output messages to Visual Studio’s Output window. Here’s…

Read More 3127 views

Modal WPF Windows And The Visual Studio Window

June 3, 2013Munir HusseiniNo Comments

So I needed to show a modal WPF window from inside a Visual Studio Extension. To do that, I needed…

Read More 1324 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 1163 views

Write To Visual Studio’s Error List

May 30, 2013Munir Husseini1 Comment

When you’re developing an extension for Visual Studio, you might want to add errors, warnings or messages to Visual Studio’s…

Read More 4656 views

Manually Applying XML Document Transform (XDT)

May 29, 2013Munir HusseiniNo Comments

There might be situations where you might want to execute XDT of a web.config or app.config “manually” (i.e. apply the…

Read More 2867 views
Load More
(c) 2011-2020 Munir Husseini