mirror of
https://github.com/amerkoleci/Vortice.Win32.git
synced 2026-01-14 08:06:02 +08:00
FIX: Build logic and drop netstandard2.1 as it causes trimming issues.
This commit is contained in:
@@ -2,16 +2,16 @@
|
||||
<Project>
|
||||
|
||||
<!-- Settings that are only set for executables -->
|
||||
<PropertyGroup Condition="'$(OutputType)' != 'Library' AND '$(UseWindowsForms)' != 'true'">
|
||||
<PropertyGroup Condition="'$(OutputType)' != 'Library' ">
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Settings that are only set for libraries -->
|
||||
<PropertyGroup Condition=" '$(OutputType)' == 'Library' AND '$(TargetFramework)' != 'netstandard2.0' AND '$(TargetFramework)' != 'netstandard2.1' ">
|
||||
<PropertyGroup Condition=" '$(OutputType)' == 'Library' AND $(TargetFramework.StartsWith('netstandard')) != 'True' ">
|
||||
<IsTrimmable>true</IsTrimmable>
|
||||
<EnableAotAnalyzer>true</EnableAotAnalyzer>
|
||||
<EnableSingleFileAnalyzer>true</EnableSingleFileAnalyzer>
|
||||
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
|
||||
<IsTrimmable>true</IsTrimmable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user