WindowsApp.lib only should be included in Windows

The csproj file isn't checking the target platform a prior to include WindowsApp.lib, which should only included when the target os Windows.
This commit is contained in:
Joseph Moreno 2020-04-23 23:57:38 -05:00
parent 771068b8a9
commit db196e72b3

View File

@ -16,7 +16,7 @@
<IlcDisableUnhandledExceptionExperience>false</IlcDisableUnhandledExceptionExperience> <IlcDisableUnhandledExceptionExperience>false</IlcDisableUnhandledExceptionExperience>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <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" />
</ItemGroup> </ItemGroup>