Remove unnecessary metadata to reduce binary size (#1727)

This commit is contained in:
Matt Cooley 2021-10-19 08:32:18 -07:00 committed by GitHub
parent 82c4c9a227
commit 01b563c0bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 10 deletions

View File

@ -35,6 +35,7 @@
<GenerateTestArtifacts>True</GenerateTestArtifacts> <GenerateTestArtifacts>True</GenerateTestArtifacts>
<AppxBundlePlatforms>$(Platform)</AppxBundlePlatforms> <AppxBundlePlatforms>$(Platform)</AppxBundlePlatforms>
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks> <HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
<IlcParameters>/disableStackTraceMetadata /disableExceptionMessages</IlcParameters>
</PropertyGroup> </PropertyGroup>
<!-- This has to be exactly in this place for this to work --> <!-- This has to be exactly in this place for this to work -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">

View File

@ -17,15 +17,6 @@
<Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata"> <Directives xmlns="http://schemas.microsoft.com/netfx/2013/01/metadata">
<Application> <Application>
<!--
An Assembly element with Name="*Application*" applies to all assemblies in
the application package. The asterisks are not wildcards.
-->
<Assembly Name="*Application*" Dynamic="Required All" />
<!-- Add your application specific runtime directives here. --> <!-- Add your application specific runtime directives here. -->
</Application> </Application>
</Directives> </Directives>