il-repack | Open-source alternative to ILMerge | Game Engine library
kandi X-RAY | il-repack Summary
kandi X-RAY | il-repack Summary
ILRepack is meant at replacing [ILMerge] / [Mono.Merge] The former being ~closed-source~ ([now open-sourced] impossible to customize, slow, resource consuming and many more. The later being deprecated, unsupported, and based on an old version of Mono.Cecil. Here we’re using latest (slightly modified) Cecil sources (0.9), you can find the fork [here] Mono.Posix is also required (build only, it gets merged afterwards) for executable bit set on target file.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of il-repack
il-repack Key Features
il-repack Examples and Code Snippets
Community Discussions
Trending Discussions on il-repack
QUESTION
I want to integrate ILRepack in my MSBuild pipeline for a .Net Core project to merge all required dlls into a single exe/dll.
The useful NuGet-Package ILRepack.MSBuild.Task
seems well fitted for that, however the example in the GitHub readme does not quite work for .Net Core projects and I can't figure out how I have to change this to be compatible with a .Net Core project:
ANSWER
Answered 2018-Feb-02 at 14:10Use this for .Net Core projects:
QUESTION
Edit: What I did to solve this:
Created a new NuGet package with the following nuspec:
...ANSWER
Answered 2017-Jul-24 at 08:27When you call dotnet pack
without any arguments, it uses the .csproj
file in the current folder to create a nuget package and ignore any .nuspec
files. And if look into dotnet pack
parameters you will not find how to specify .nuspec
directly.
But, dotnet-pack docs says we can provide MSBuild properties to the dotnet pack command for the packing process. From NuGet metadata properties:
NuspecFile
Relative or absolute path to the .nuspec file being used for packing. Note
If the .nuspec file is specified, it's used exclusively for packaging information and any information in the projects is not used.
NuspecBasePath
Base path for the .nuspec file.
So modify your .csproj
by adding the following
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install il-repack
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page