-
Notifications
You must be signed in to change notification settings - Fork 2
/
Directory.Build.props
54 lines (46 loc) · 2.26 KB
/
Directory.Build.props
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
<?xml version="1.0" encoding="UTF-8"?>
<Project>
<PropertyGroup>
<LangVersion>latest</LangVersion>
<Version>5.9.7</Version>
<!-- Version Code Format (.NET Version, App Version, Build Number) -->
<!-- Note: Update here as well as Maui.AppWidget xproj -->
<VersionCode Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) != 'windows'">859700</VersionCode>
<VersionCode Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'windows'">0</VersionCode>
</PropertyGroup>
<PropertyGroup>
<_TargetPlatformIdentifier>$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)'))</_TargetPlatformIdentifier>
<_TargetPlatformIsWindows Condition="$(_TargetPlatformIdentifier.Contains('windows')) == 'True'">True</_TargetPlatformIsWindows>
<EnableWindowsTargeting>true</EnableWindowsTargeting>
</PropertyGroup>
<PropertyGroup>
<DefineConstants Condition="'$(_TargetPlatformIsWindows)' == 'True'">$(DefineConstants);WINDOWS</DefineConstants>
<UseRidGraph Condition="'$(_TargetPlatformIsWindows)' == 'True'">true</UseRidGraph>
<RuntimeIdentifiers Condition="'$(_TargetPlatformIsWindows)' == 'True'">win-x86;win-x64;win-arm64</RuntimeIdentifiers>
</PropertyGroup>
<!-- Build acceleration -->
<PropertyGroup>
<AccelerateBuildsInVisualStudio Condition="'$(Configuration)' == 'Debug'">true</AccelerateBuildsInVisualStudio>
<AccelerateBuildsInVisualStudio Condition="'$(Configuration)' == 'Release'">false</AccelerateBuildsInVisualStudio>
</PropertyGroup>
<!-- System.Text.Json -->
<PropertyGroup>
<JsonSerializerIsReflectionEnabledByDefault>false</JsonSerializerIsReflectionEnabledByDefault>
</PropertyGroup>
<!-- Maui -->
<PropertyGroup>
<MauiVersion>8.0.70</MauiVersion>
</PropertyGroup>
<PropertyGroup>
<SentryVersion>4.9.0</SentryVersion>
</PropertyGroup>
<PropertyGroup>
<WinToolkitVersion>8.0.240109</WinToolkitVersion>
<WinAppSDKVersion>1.5.240627000</WinAppSDKVersion>
<WinSDKBuildToolsVersion>10.0.22621.3233</WinSDKBuildToolsVersion>
<WinSDKRefVersion>10.0.22621.33</WinSDKRefVersion>
</PropertyGroup>
<PropertyGroup>
<SolutionDir Condition="'$(SolutionDir)' == ''">$(MSBuildThisFileDirectory)</SolutionDir>
</PropertyGroup>
</Project>