-
Notifications
You must be signed in to change notification settings - Fork 792
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
67 lines (59 loc) · 2.95 KB
/
Directory.Build.props
File metadata and controls
67 lines (59 loc) · 2.95 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<Project>
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<!-- IF BUILD FAILS DUE TO MISSING Microsoft.Management.Deployment NAMESPACE,
TOGGLE THE LAST NUMBER OF THE LINE BELOW 1 UNIT UP OR DOWN, AND REBUILD-->
<SdkVersion>10.0.103</SdkVersion>
<Authors>Devolutions Inc. and the contributors</Authors>
<PublisherName>Devolutions Inc.</PublisherName>
<Nullable>enable</Nullable>
</PropertyGroup>
<PropertyGroup>
<PortableTargetFramework>net10.0</PortableTargetFramework>
<WindowsTargetPlatformVersion>10.0.26100.0</WindowsTargetPlatformVersion>
<WindowsTargetFramework>$(PortableTargetFramework)-windows$(WindowsTargetPlatformVersion)</WindowsTargetFramework>
</PropertyGroup>
<PropertyGroup>
<BuildSharedWindowsTargetFrameworks
Condition="$([MSBuild]::IsOSPlatform('Windows')) == 'true' or '$(EnableWindowsTargeting)' == 'true'"
>true</BuildSharedWindowsTargetFrameworks
>
<SharedTargetFrameworks Condition="'$(BuildSharedWindowsTargetFrameworks)' == 'true'"
>$(PortableTargetFramework);$(WindowsTargetFramework)</SharedTargetFrameworks
>
<SharedTargetFrameworks Condition="'$(SharedTargetFrameworks)' == ''"
>$(PortableTargetFramework)</SharedTargetFrameworks
>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == '' and '$(TargetFrameworks)' == ''">
<TargetFrameworks>$(SharedTargetFrameworks)</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="$([System.String]::Copy('$(TargetFramework)').Contains('-windows'))">
<TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion>
<WindowsSdkPackageVersion>10.0.26100.56</WindowsSdkPackageVersion>
<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>
<RuntimeIdentifiers>win-x64;win-arm64</RuntimeIdentifiers>
<RuntimeIdentifier
Condition="'$(Platform)' != '' and '$(Platform)' != 'AnyCPU' and '$(Platform)' != 'Any CPU'"
>win-$(Platform)</RuntimeIdentifier
>
</PropertyGroup>
<PropertyGroup>
<Platforms>x64;arm64</Platforms>
<PublishSelfContained>true</PublishSelfContained>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<Configurations>Debug;Release</Configurations>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<Optimize>true</Optimize>
<WholeProgramOptimization>true</WholeProgramOptimization>
<TieredCompilation>true</TieredCompilation>
<PublishReadyToRun>true</PublishReadyToRun>
<EnableProfileOptimization>true</EnableProfileOptimization>
</PropertyGroup>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<NoWarn>$(NoWarn);EnableGenerateDocumentationFile</NoWarn>
</PropertyGroup>
</Project>