davidcie / ILMerge-MSBuild-Task

Adds ILMerge to Visual Studio 2013/2017 or automated builds. This Task is intended to work right out of the box however, it supports a configuration file where you can control every ILMerge property including the list of assemblies to be merged.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configurable ILMerge Task for MSBuild

Adds ILMerge to Visual Studio 2013/2017 or automated builds. This Task is intended to work right out of the box however, it supports a configuration file where you can control every ILMerge property including the list of assemblies to be merged.

Getting Started

Use Nuget to add ILMerge.MSBuild.Task to your Visual Studio project:

Install-Package ILMerge.MSBuild.Task

Build your project. The merged assembly will be stored in an ILMerge folder under your project output. The output directory is configurable.


Project To Merge Output

Easy to Use and Configure

By default all references with Copy Local equals true are merged to the project output, giving you an "ILMerged" assembly right out of the box. You can change this behavior and a lot more through an optional configuration file. For example, a static list of assemblies can be used instead of the dynamic dependency on the Copy Local property.

{
	"General": {
		"InputAssemblies": [
		  "XrmUtils.Plugins.Abstractions", 
		  "XrmUtils.Plugins.Utilities" 
		]
	}
}

Project Wiki

See the Project Wiki for more details.

About

Adds ILMerge to Visual Studio 2013/2017 or automated builds. This Task is intended to work right out of the box however, it supports a configuration file where you can control every ILMerge property including the list of assemblies to be merged.

License:MIT License


Languages

Language:C# 99.5%Language:Batchfile 0.5%