ILRepack.Lib.MSBuild.Task
2.0.15.3
See the version list below for details.
dotnet add package ILRepack.Lib.MSBuild.Task --version 2.0.15.3
NuGet\Install-Package ILRepack.Lib.MSBuild.Task -Version 2.0.15.3
<PackageReference Include="ILRepack.Lib.MSBuild.Task" Version="2.0.15.3" />
<PackageVersion Include="ILRepack.Lib.MSBuild.Task" Version="2.0.15.3" />
<PackageReference Include="ILRepack.Lib.MSBuild.Task" />
paket add ILRepack.Lib.MSBuild.Task --version 2.0.15.3
#r "nuget: ILRepack.Lib.MSBuild.Task, 2.0.15.3"
#addin nuget:?package=ILRepack.Lib.MSBuild.Task&version=2.0.15.3
#tool nuget:?package=ILRepack.Lib.MSBuild.Task&version=2.0.15.3
Usage
You just need to install NuGet package to merge all your project dependencies. If you want to customize the process then you can create a file named "ILRepack.targets" in your project folder. You can create it like shown below.
Example "ILRepack.targets"
<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="ILRepacker" AfterTargets="Build" Condition="'$(Configuration)' == 'Release'">
<ItemGroup>
<InputAssemblies Include="$(OutputPath)\ExampleAssemblyToMerge1.dll" />
<InputAssemblies Include="$(OutputPath)\ExampleAssemblyToMerge2.dll" />
<InputAssemblies Include="$(OutputPath)\ExampleAssemblyToMerge3.dll" />
</ItemGroup>
<ItemGroup>
<DoNotInternalizeAssemblies Include="ExampleAssemblyToMerge3" />
</ItemGroup>
<ILRepack
Parallel="true"
Internalize="true"
InternalizeExclude="@(DoNotInternalizeAssemblies)"
InputAssemblies="@(InputAssemblies)"
TargetKind="Dll"
OutputFile="$(OutputPath)\$(AssemblyName).dll"
/>
</Target>
</Project>
Configuration
You need to create "ILRepack.Config.props" file in your project folder to configure the behavior of ILRepack.Lib.MSBuild.Task.
<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
</PropertyGroup>
</Project>
You can specify following options inside the <PropertyGroup> element to configure the behavior of the ILRepack task.
Specify your custom Targets file path
If you don't want to add "ILRepack.targets" file in your project folder then you can specify your targets file path as shown below.
<ILRepackTargetsFile>$([System.IO.Path]::GetDirectoryName($(MSBuildProjectDirectory)))\ILRepack.targets</ILRepackTargetsFile>
Specify Key File to use for signing
You can specify the path of the SNK file you want to use for signing your assembly as shown below. This configuration option only applies if you are using default targets file provided in NuGet package.
<KeyFile>$(ProjectDir)ILRepack.snk</KeyFile>
Specify whether to clear directory after merging
If you are using default targets file then you may notice that it clears Output directory after merging dependencies. You can turn this functionality off by setting ClearOutputDirectory to False as shown below.
<ClearOutputDirectory>False</ClearOutputDirectory>
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages (8)
Showing the top 5 NuGet packages that depend on ILRepack.Lib.MSBuild.Task:
Package | Downloads |
---|---|
PLib
PLib - Peter Han's library used for creating mods for Oxygen Not Included, a simulation game by Klei Entertainment. Contains methods aimed at improving cross-mod compatibility, in-game user interfaces, and game-wide functions such as Actions and Lighting. An easy-to-use Mod Options menu is also included. |
|
Krypton.Toolkit.Suite.Extended.Software.Updater.Nightly
An extension to the Standard Toolkit, which supports .NET Framework 4.6.2 - 4.8.1, .NET 6 - 9. This package implements software updating features. This package supports all .NET Framework versions starting .NET Framework 4.6.2 - 4.8.1, .NET 6 - 9. Also, all libraries are included targeting each specific framework version for performance purposes. To view all of the extended toolkit package latest version information, please visit: https://github.com/Krypton-Suite/Krypton-Toolkit-Suite-Version-Dashboard/blob/main/Documents/Modules/Extended/Krypton-Toolkit-Suite-Extended-Modules.md |
|
Krypton.Toolkit.Suite.Extended.Software.Updater.Canary
An extension to the Standard Toolkit, which supports .NET Framework 4.6.2 - 4.8.1, .NET Core 3.1 and .NET 5 - 7. This package implements software updating features. This package supports all .NET Framework versions starting .NET Framework 4.6.2 - 4.8.1, .NET Core 3.1 and .NET 5 - 7. Also, all libraries are included targeting each specific framework version for performance purposes. To view all of the extended toolkit package latest version information, please visit: https://github.com/Krypton-Suite/Krypton-Toolkit-Suite-Version-Dashboard/blob/main/Documents/Modules/Extended/Krypton-Toolkit-Suite-Extended-Modules.md |
|
Krypton.Toolkit.Suite.Extended.Software.Updater
An extension to the Standard Toolkit, which supports .NET Framework 4.6.2 - 4.8.1, .NET Core 3.1 and .NET 5 - 7. This package implements software updating features. This package supports all .NET Framework versions starting .NET Framework 4.6.2 - 4.8.1, .NET Core 3.1 and .NET 5 - 7. Also, all libraries are included targeting each specific framework version for performance purposes. To view all of the extended toolkit package latest version information, please visit: https://github.com/Krypton-Suite/Krypton-Toolkit-Suite-Version-Dashboard/blob/main/Documents/Modules/Extended/Krypton-Toolkit-Suite-Extended-Modules.md |
|
HuajiTech.CoolQ.Packing.ILRepack
使用 ILRepack 打包 HuajiTech.CoolQ 应用。 |
GitHub repositories (19)
Showing the top 19 popular GitHub repositories that depend on ILRepack.Lib.MSBuild.Task:
Repository | Stars |
---|---|
wmjordan/PDFPatcher
PDF补丁丁——PDF工具箱,可以编辑书签、剪裁旋转页面、解除限制、提取或合并文档,探查文档结构,提取图片、转成图片等等
|
|
quasar/Quasar
Remote Administration Tool for Windows
|
|
pardeike/Harmony
A library for patching, replacing and decorating .NET and Mono methods during runtime
|
|
cxfksword/jellyfin-plugin-metashark
jellyfin电影元数据插件
|
|
ManlyMarco/RuntimeUnityEditor
In-game inspector and debugging tools for applications made with Unity3D game engine
|
|
cxfksword/jellyfin-plugin-danmu
jellyfin弹幕自动下载插件
|
|
ThePornDatabase/Jellyfin.Plugin.ThePornDB
Jellyfin/Emby Metadata Provider
|
|
DirtyRacer1337/Jellyfin.Plugin.PhoenixAdult
Jellyfin/Emby Metadata Provider for videos from multiple adult sites
|
|
peterhaneve/ONIMods
Peter Han's mods for Oxygen Not Included
|
|
Krypton-Suite/Extended-Toolkit
A companion toolkit for the standard toolkit.
|
|
gurrenm3/BTD-Mod-Helper
A powerful and easy to use API for modding BTD6, BATTD, and other Ninja Kiwi games.
|
|
RandyKnapp/ValheimMods
|
|
EvanMulawski/FanControl.CorsairLink
The unofficial CorsairLink plugin for Fan Control. Adds support for Corsair controllers, liquid coolers, and power supplies. An alternative to iCUE.
|
|
replaysMike/AnyDiff
A CSharp (C#) diff library that allows you to diff two objects and get a list of the differences back.
|
|
Qiu233/QTRHacker
A powerful hack for Terraria
|
|
aedenthorn/ValheimMods
|
|
akintos/UnrealLocres
UE4 localization resource file tool
|
|
TypNull/Tubifarry
Tubifarry is a Lidarr plugin that enhances your music library by fetching music from YouTube, integrating with Slskd for Soulseek access, automating Spotify playlist imports, converting files, and retrieving soundtracks from Radarr and Sonarr.
|
|
diamondo25/MapleShark
MapleShark is a MapleStory sniffer that works with SharpPcap. Sniff dem packetzz!
|
Version | Downloads | Last updated |
---|---|---|
2.0.40 | 2,705 | 2/28/2025 |
2.0.37 | 2,033 | 2/10/2025 |
2.0.34.2 | 23,764 | 8/17/2024 |
2.0.34.1 | 29,642 | 7/15/2024 |
2.0.34 | 37,248 | 6/12/2024 |
2.0.33 | 2,592 | 5/24/2024 |
2.0.32 | 3,547 | 5/7/2024 |
2.0.31 | 1,845 | 4/23/2024 |
2.0.29 | 4,575 | 4/1/2024 |
2.0.26 | 16,164 | 1/11/2024 |
2.0.25 | 2,303 | 1/8/2024 |
2.0.22 | 974 | 1/4/2024 |
2.0.18.2 | 335,891 | 11/13/2020 |
2.0.18.1 | 70,779 | 4/21/2020 |
2.0.18 | 112,843 | 10/6/2019 |
2.0.17 | 11,704 | 7/18/2019 |
2.0.16.1 | 103,618 | 2/22/2019 |
2.0.16 | 23,121 | 9/8/2018 |
2.0.15.5 | 20,469 | 6/26/2018 |
2.0.15.4 | 31,611 | 3/21/2018 |
2.0.15.3 | 17,809 | 2/21/2018 |
2.0.15.2 | 1,630 | 12/24/2017 |
2.0.15.1 | 1,282 | 12/20/2017 |
2.0.15 | 1,265 | 12/19/2017 |
2.0.13 | 50,203 | 5/1/2017 |
2.0.12 | 1,965 | 12/21/2016 |
* Added ability to define config file to customize the merging process.
* Now developers can create target file named "ILRepack.targets" in the project folder and it will be used for merging assemblies rather than one provided with NuGet package.