Comments (2)
I don't think we can make this behavior the default.
Could be added as an extra command-line token that'd clean up merged assemblies and other files.
Not sure I'll do it anytime soon though, as it can be done already in the upper build system that calls ILRepack (e.g. MSBuild).
from il-repack.
I use this Target to do the same:
<Target Name="ILRepack" AfterTargets="PostBuildEvent">
<ItemGroup>
<DllToMerge Include="$(TargetDir)SomeDll.dll" />
</ItemGroup>
<Message Importance="high" Text="- - - - IL REPACK - - - - - -" />
<Move SourceFiles="$(TargetDir)$(TargetFileName)" DestinationFiles="$(TargetDir)original_$(TargetFileName)" />
<Message Importance="high" Text="$(ILRepack) /out:$(TargetFileName) original_$(TargetFileName) @(DllToMerge->'%(RecursiveDir)%(Filename)%(Extension) /internalize', ' ')" />
<Exec WorkingDirectory="$(TargetDir)" Command="$(ILRepack) /out:$(TargetFileName) original_$(TargetFileName) @(DllToMerge->'%(RecursiveDir)%(Filename)%(Extension) /internalize', ' ')" />
<Delete Files="$(TargetDir)original_$(TargetFileName);@(DllToMerge)" />
</Target>
from il-repack.
Related Issues (20)
- SourceLink
- ContinuousIntegrationBuild
- Issue with 2.0.22: Failed to resolve assembly 'Microsoft.Build.Framework' HOT 7
- Properly document all new command line options
- Proposal: Rename /ExcludeInternalizeSerializable to /InternalizeSerializable HOT 1
- Better support for dropping attributes HOT 5
- Add developmentDependency to the nuspec HOT 2
- Error merging VB app in 2.0.27 HOT 20
- Mysterious failure in ILpacked application HOT 10
- Am I misunderstanding ILRepack / ILMerge HOT 11
- Exceptions aren't renamed? HOT 3
- ILRepacked DLL is looking for PDB files in a non-existent subfolder HOT 5
- Ability to internalize a subset of input assemblies HOT 1
- Add an Icon to the nuget package HOT 1
- Repacking Harmony in Debug mode fails HOT 15
- Disable source server warning on unix HOT 2
- Possible Internalize regression HOT 5
- Cecil binaries need to be internalized HOT 7
- Getting "Method reference is used with definition return type / parameter." / Due to TypeForwardedTo type HOT 22
- Replacement for AllowDuplicateType Method of ILMerge HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from il-repack.