mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Implement TrimMode=link
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
|
||||
<!-- Assemblies to include in trimmed builds for plugins usage -->
|
||||
<ItemGroup>
|
||||
<TrimmerRootAssembly Include="System.Runtime" />
|
||||
<TrimmerRootDescriptor Include="TrimmerRoots.xml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
4
ArchiSteamFarm/TrimmerRoots.xml
Normal file
4
ArchiSteamFarm/TrimmerRoots.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<linker>
|
||||
<!-- We include System.Runtime for plugins usage -->
|
||||
<assembly fullname="System.Runtime" />
|
||||
</linker>
|
||||
@@ -43,6 +43,7 @@
|
||||
<EnableUnsafeUTF7Encoding>false</EnableUnsafeUTF7Encoding>
|
||||
<EventSourceSupport>false</EventSourceSupport>
|
||||
<HttpActivityPropagationSupport>false</HttpActivityPropagationSupport>
|
||||
<TrimMode>link</TrimMode>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(OS)' == 'Windows_NT' OR '$(ASFNetFramework)' != ''">
|
||||
|
||||
Reference in New Issue
Block a user