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

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 2935 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 2232 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 2587 views

Video links: JavaScript in Various Browsers

October 31, 2013Munir HusseiniNo Comments

Heer some videos about modern JavaScript engines and how to optimize JavaScript code. Shashwat Agarwal – JavaScript Engines – SpiderMonkey…

Read More 1739 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 5788 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 2747 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 4148 views

“IDENTITY_INSERT is already ON for table X” When Applied to Multiple Tables

August 22, 2013Munir HusseiniNo Comments

Today, I needed to insert data into multiple tables in SQL Server and write to the tables’ identity columns. My…

Read More 5358 views

Linq Expressions By Sample: Calling Generic Methods With Lambda Parameters For Unknown Types

July 19, 2013Munir Husseini7 Comments

Suppose you need to call a generic Method that receives a generic delegate parameter. Now suppose that you neither know…

Read More 9533 views

Loading Assemblies In New AppDomain (And Unloading Them)

July 17, 2013Munir Husseini2 Comments

Today I had an issue with assemblies in an AppDomain. What I tried to do was to create a new…

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