Make OS-specific packages work again

At least to the point of being able to self-update, that is
This commit is contained in:
JustArchi
2022-11-16 16:07:29 +01:00
parent 3b7e4479a1
commit 70ec5cb6d4
2 changed files with 10 additions and 2 deletions

View File

@@ -11,10 +11,16 @@
<type fullname="System.Composition.ExportAttribute" />
</assembly>
<!-- This is needed for our STD plugin -->
<!-- Entries below are needed for our STD plugin -->
<assembly fullname="System.Linq">
<type fullname="System.Linq.Enumerable">
<method name="MaxBy" />
</type>
</assembly>
<assembly fullname="System.Runtime">
<type fullname="System.Random">
<method name="Next" />
</type>
</assembly>
</linker>

View File

@@ -90,7 +90,7 @@
<SignAssembly>true</SignAssembly>
</PropertyGroup>
<!-- Trimming functionality as described on https://docs.microsoft.com/dotnet/core/deploying/trim-self-contained -->
<!-- Trimming functionality as described on https://learn.microsoft.com/dotnet/core/deploying/trimming/trimming-options -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DebuggerSupport>false</DebuggerSupport>
<EnableUnsafeBinaryFormatterSerialization>false</EnableUnsafeBinaryFormatterSerialization>
@@ -98,6 +98,8 @@
<EventSourceSupport>false</EventSourceSupport>
<HttpActivityPropagationSupport>false</HttpActivityPropagationSupport>
<MetadataUpdaterSupport>false</MetadataUpdaterSupport>
<UseNativeHttpHandler>true</UseNativeHttpHandler>
<TrimMode>partial</TrimMode>
</PropertyGroup>
<PropertyGroup Condition="'$(OS)' == 'Windows_NT' OR '$(ASFNetFramework)' != ''">