-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Directory.Build.targets
33 lines (28 loc) · 1.22 KB
/
Directory.Build.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="utf-8"?>
<Project>
<!-- Settings that append the existing setting value -->
<PropertyGroup>
<NoWarn>$(NoWarn)</NoWarn>
</PropertyGroup>
<!-- Settings that are only set for executables -->
<PropertyGroup Condition="'$(OutputType)' != 'Library' AND '$(UseWindowsForms)' != 'true'">
<PublishTrimmed>true</PublishTrimmed>
</PropertyGroup>
<!-- Settings that are only set for libraries -->
<PropertyGroup Condition="'$(OutputType)' == 'Library'">
<IsAotCompatible>true</IsAotCompatible>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<IsTrimmable>true</IsTrimmable>
</PropertyGroup>
<!-- Assembly attributes to include for every project -->
<ItemGroup>
<AssemblyAttribute Include="System.Runtime.Versioning.SupportedOSPlatformAttribute">
<_Parameter1>windows10.0.19043.0</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<!-- platform version number information -->
<PropertyGroup Condition="'$(_AlimerTargetPlatformIsWindows)' == 'True' AND $(TargetFramework.Contains('-windows10'))">
<SupportedOSPlatformVersion>10.0.19043.0</SupportedOSPlatformVersion>
<TargetPlatformMinVersion>10.0.19043.0</TargetPlatformMinVersion>
</PropertyGroup>
</Project>