dotnet / ILMerge

ILMerge is a static linker for .NET Assemblies.
MIT License
1.23k stars 170 forks source link

"Private" ILMerge #81

Closed TonyValenti closed 4 years ago

TonyValenti commented 4 years ago

I want to merge a dependency into my main assembly yet have all of the public but merged-in types be private so that they are not exposed to consumers of my assembly.

How do I make that happen?

mike-barnett commented 4 years ago

Check out section 2.12 in the manual: https://github.com/dotnet/ILMerge/blob/master/ilmerge-manual.md. Let me know if you need any further help.

TonyValenti commented 4 years ago

Man! I even looked at the docs and somehow missed that! Thanks so much!