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

Change Current Thread’s Currency Symbol

July 16, 2013Munir HusseiniNo Comments

Consider the following code. It shows how a decimal value is converted into a string that contains an amount and…

Read More 2458 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 3943 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 3682 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 1662 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 1562 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 5490 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 3560 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 7805 views

Automatically Re-Create Stored Procedures In SQL Server

May 22, 2013Munir HusseiniNo Comments

One day I discovered that the system table sysdepends in my database was not valid. I know that dropping and…

Read More 1801 views

A Flexible And Convenient Type Conversion Helper in C#

May 21, 2013July 30, 2020Munir HusseiniNo Comments

Every once in a while I need to convert objects of an unknown type into a known type; sometimes these…

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