Category Archives: Microsoft

Microsoft Articles

Visual Studio 2017 Installer Projects – Part 3

In Visual Studio 2017 Installer Projects Part 2 we established a test application that we want to create an installer package. In this article we will open the test application and add a new set-up installer project. Open our test project TheWorldsGreatest.sln In Solution explorer we need to add a new project to our solution, right click on the solution “Solution ‘TheWorldsGreatest’ (2 projects” and Add\New project. Select “Setup project” and name the new project “TheWorldsGreatestInstall” Click on the TheWorldsGreatestInstall project where we can edit Read More +

Using ILMerge to merge assemblies

This document describes the ILMerge utility which merges multiple .NET assemblies into a single assembly. However, some .NET assemblies may not be able to be merged because they may contain features such as unmanaged code. I would highly recommend using peverify (the .NET Framework SDK tool) on the output of ILMerge to guarantee that the output is verifiable and will load in the .NET runtime. ILMerge is packaged as a console application. But all of its functionality is also accessible programmatically. Note that Visual Studio does allow one to add an executable as a reference, so you can write a client that uses ILMerge as a library.

Obfuscating for .net

When you want to release your .net application to the public as closed source you should note that Microsoft .net applications are easy to decompile and reconstruct once distributed. In this article, I intend to explore various options and explain why we settled on one particular Obfuscator that is open source. We explored a range of commercial and open source obfuscators such as ConfuserEX, ConfuserEX2, DotFuscatorCE, Obfuscar with varying levels of success.