You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Disabling trimming per assembly with trimming does change the assembly #45598
This is currently expected. The trimmer still processes the assembly, it just doesn't remove any type/method from it in that mode. What it will do is remove assembly references to assemblies which are removed from the output. In this case it removes reference to mscorlib and netstandard and replaces it with references to .NET Core assemblies.
Does the fact that assembly is modified (but not actually trimmed) cause problems for your application?
It doesn't cause any issue but there are plenty of licenses which require you to state changes even if you just modify the date.
Some licenses may even disallow such usage if you change the original file.
For the safety I would like to have the original file in the output.
Activity
vitek-karas commentedon Dec 4, 2020
This is currently expected. The trimmer still processes the assembly, it just doesn't remove any type/method from it in that mode. What it will do is remove assembly references to assemblies which are removed from the output. In this case it removes reference to mscorlib and netstandard and replaces it with references to .NET Core assemblies.
Does the fact that assembly is modified (but not actually trimmed) cause problems for your application?
NN--- commentedon Dec 4, 2020
It doesn't cause any issue but there are plenty of licenses which require you to state changes even if you just modify the date.
Some licenses may even disallow such usage if you change the original file.
For the safety I would like to have the original file in the output.
https://tldrlegal.com/search?reverse=true&must[]=52c5e04809728f9723000009
vitek-karas commentedon Dec 4, 2020
Thanks for pointing that out!
vitek-karas commentedon Dec 4, 2020
This issue was moved to dotnet/linker#1669