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…
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,…
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…
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…
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…
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…
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.…
“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…
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…
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…