|
|
@ -8,12 +8,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
|
|
<!-- these can help when debugging weird exceptions especially when reflection is involved. See https://github.com/dotnet/corert/blob/master/Documentation/using-corert/optimizing-corert.md -->
|
|
|
|
<!-- these can help when debugging weird exceptions especially when reflection is involved. See https://github.com/dotnet/corert/blob/master/Documentation/using-corert/optimizing-corert.md -->
|
|
|
|
<RootAllApplicationAssemblies>false</RootAllApplicationAssemblies>
|
|
|
|
<!--RootAllApplicationAssemblies: False -> TrimMode:link See https://github.com/dotnet/runtimelab/issues/597 and https://github.com/dotnet/runtimelab/blob/feature/NativeAOT/docs/using-nativeaot/optimizing.md -->
|
|
|
|
|
|
|
|
<TrimMode>link</TrimMode>
|
|
|
|
<IlcGenerateCompleteTypeMetadata>false</IlcGenerateCompleteTypeMetadata>
|
|
|
|
<IlcGenerateCompleteTypeMetadata>false</IlcGenerateCompleteTypeMetadata>
|
|
|
|
<IlcGenerateStackTraceData>false</IlcGenerateStackTraceData>
|
|
|
|
<IlcGenerateStackTraceData>false</IlcGenerateStackTraceData>
|
|
|
|
<IlcDisableUnhandledExceptionExperience>true</IlcDisableUnhandledExceptionExperience>
|
|
|
|
<IlcDisableUnhandledExceptionExperience>true</IlcDisableUnhandledExceptionExperience>
|
|
|
|
</PropertyGroup>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
|
|
|
|
<ItemGroup Condition="$(RuntimeIdentifier.StartsWith('win'))">
|
|
|
|
<ItemGroup Condition="$(RuntimeIdentifier.StartsWith('win'))">
|
|
|
|
<!-- Instruct CoreRT to use this native dependency, required to build Avalonia. This library comes from the Windows SDK. -->
|
|
|
|
<!-- Instruct CoreRT to use this native dependency, required to build Avalonia. This library comes from the Windows SDK. -->
|
|
|
|
<NativeLibrary Include="WindowsApp.lib" />
|
|
|
|
<NativeLibrary Include="WindowsApp.lib" />
|
|
|
@ -32,12 +33,10 @@
|
|
|
|
<EmbeddedResource Include="windows.png" />
|
|
|
|
<EmbeddedResource Include="windows.png" />
|
|
|
|
</ItemGroup>
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<PackageReference Include="Avalonia" Version="0.9.11" />
|
|
|
|
<PackageReference Include="Avalonia" Version="0.10.0" />
|
|
|
|
<PackageReference Include="Avalonia.Desktop" Version="0.9.11" />
|
|
|
|
<PackageReference Include="Avalonia.Desktop" Version="0.10.0" />
|
|
|
|
<PackageReference Include="Avalonia.ReactiveUI" Version="0.9.11" />
|
|
|
|
<PackageReference Include="Avalonia.ReactiveUI" Version="0.10.0" />
|
|
|
|
<PackageReference Include="Microsoft.DotNet.ILCompiler" Version="6.0.0-*" />
|
|
|
|
<PackageReference Include="Microsoft.DotNet.ILCompiler" Version="6.0.0-*" />
|
|
|
|
<!-- This is a hack. Avalonia 0.9.10 depends on a version of System.Reactive prior 4.4.1, which contains a critical fix for building with CoreRT -->
|
|
|
|
|
|
|
|
<PackageReference Include="System.Reactive" Version="5.0" />
|
|
|
|
|
|
|
|
</ItemGroup>
|
|
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<ItemGroup>
|
|
|
|
<!-- Avalonia relies heavily on reflection. Describe types reflected upon here. -->
|
|
|
|
<!-- Avalonia relies heavily on reflection. Describe types reflected upon here. -->
|
|
|
|