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:
parent
771068b8a9
commit
db196e72b3
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user