Add CsWinRT size saving options to sample
このコミットが含まれているのは:
1 親
e2756fa24c
コミット
5297913ba6
1ファイル変更
+12
-3
@@ -4,18 +4,27 @@
|
||||
<WindowsSdkPackageVersion>10.0.22621.35-preview</WindowsSdkPackageVersion>
|
||||
<Platforms>x64;ARM64</Platforms>
|
||||
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<CsWinRTComponent>true</CsWinRTComponent>
|
||||
|
||||
<!-- CsWinRT size saving options (also disabling some features that aren't needed) -->
|
||||
<CsWinRTEnableDynamicObjectsSupport>false</CsWinRTEnableDynamicObjectsSupport>
|
||||
<CsWinRTUseExceptionResourceKeys>true</CsWinRTUseExceptionResourceKeys>
|
||||
<CsWinRTEnableDefaultCustomTypeMappings>false</CsWinRTEnableDefaultCustomTypeMappings>
|
||||
<CsWinRTEnableICustomPropertyProviderSupport>false</CsWinRTEnableICustomPropertyProviderSupport>
|
||||
<CsWinRTEnableIReferenceSupport>false</CsWinRTEnableIReferenceSupport>
|
||||
<CsWinRTEnableIDynamicInterfaceCastableSupport>false</CsWinRTEnableIDynamicInterfaceCastableSupport>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- NativeAOT configuration (same as in ComputeSharp.NativeLibrary, see notes there) -->
|
||||
<!-- NativeAOT configuration -->
|
||||
<PropertyGroup>
|
||||
<PublishAot>true</PublishAot>
|
||||
<UseSystemResourceKeys>true</UseSystemResourceKeys>
|
||||
<InvariantGlobalization>true</InvariantGlobalization>
|
||||
<OptimizationPreference>Size</OptimizationPreference>
|
||||
<StackTraceSupport>false</StackTraceSupport>
|
||||
<IlcFoldIdenticalMethodBodies>false</IlcFoldIdenticalMethodBodies>
|
||||
<IlcDisableReflection>false</IlcDisableReflection>
|
||||
<IlcGenerateMstatFile>false</IlcGenerateMstatFile>
|
||||
<IlcGenerateDgmlFile>false</IlcGenerateDgmlFile>
|
||||
</PropertyGroup>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする