Repository navigation
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
122 lines (103 loc) · 6.05 KB
/
Copy pathDirectory.Build.props
File metadata and controls
122 lines (103 loc) · 6.05 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<Project>
<PropertyGroup>
<GalleryAppName>DevWinUI.Gallery</GalleryAppName>
<ContextMenuLibName>DevWinUI.ContextMenu</ContextMenuLibName>
<SourceGeneratorLibName>DevWinUI.SourceGenerator</SourceGeneratorLibName>
<ShaderLibName>DevWinUI.Shader</ShaderLibName>
<BaseNamespace>DevWinUI</BaseNamespace>
</PropertyGroup>
<PropertyGroup>
<IsGallery>$([System.String]::Equals('$(MSBuildProjectName)', '$(GalleryAppName)'))</IsGallery>
<IsContextMenu>$([System.String]::Equals('$(MSBuildProjectName)', '$(ContextMenuLibName)'))</IsContextMenu>
<IsSourceGenerator>$([System.String]::Equals('$(MSBuildProjectName)', '$(SourceGeneratorLibName)'))</IsSourceGenerator>
<IsShader>$([System.String]::Equals('$(MSBuildProjectName)', '$(ShaderLibName)'))</IsShader>
</PropertyGroup>
<PropertyGroup>
<LibraryMajorVersion>11</LibraryMajorVersion>
<DevWinUI_MinorVersion>0</DevWinUI_MinorVersion>
<DevWinUI_Base_MinorVersion>0</DevWinUI_Base_MinorVersion>
<DevWinUI_ContextMenu_MinorVersion>0</DevWinUI_ContextMenu_MinorVersion>
<DevWinUI_SourceGenerator_MinorVersion>0</DevWinUI_SourceGenerator_MinorVersion>
<DevWinUI_Shader_MinorVersion>0</DevWinUI_Shader_MinorVersion>
<DevWinUI_Gallery_MinorVersion>0</DevWinUI_Gallery_MinorVersion>
<DevWinUI_PatchVersion>0</DevWinUI_PatchVersion>
<DevWinUI_Base_PatchVersion>0</DevWinUI_Base_PatchVersion>
<DevWinUI_ContextMenu_PatchVersion>0</DevWinUI_ContextMenu_PatchVersion>
<DevWinUI_SourceGenerator_PatchVersion>0</DevWinUI_SourceGenerator_PatchVersion>
<DevWinUI_Shader_PatchVersion>0</DevWinUI_Shader_PatchVersion>
<DevWinUI_Gallery_PatchVersion>0</DevWinUI_Gallery_PatchVersion>
<IsPreviewBuild>false</IsPreviewBuild>
<PreviewLabel>-Preview2</PreviewLabel>
<PreviewBuildSuffix Condition="'$(IsPreviewBuild)' == 'true'">$(PreviewLabel)</PreviewBuildSuffix>
<XAMLToolsVersion>1.0.0-alpha.189</XAMLToolsVersion>
<CsWin32Version>0.3.371</CsWin32Version>
<Win2dVersion>1.4.0</Win2dVersion>
<ComputeSharpVersion>3.2.0</ComputeSharpVersion>
<WASDKWinUIVersion>2.3.6</WASDKWinUIVersion>
<BuildToolsMSIXVersion>1.7.261119100</BuildToolsMSIXVersion>
</PropertyGroup>
<PropertyGroup>
<RootNamespace>$(BaseNamespace)</RootNamespace>
<ImplicitUsings>true</ImplicitUsings>
<LangVersion>Latest</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>enable</Nullable>
<NoWarn>WIN2D0001;WMC1510;WMC0001;IDE0130</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net8.0'))">
<IsAotCompatible>true</IsAotCompatible>
<CsWinRTAotWarningLevel>2</CsWinRTAotWarningLevel>
</PropertyGroup>
<PropertyGroup>
<PackageIcon>Icon.png</PackageIcon>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Authors>Mahdi Hosseini</Authors>
<Copyright>Copyright (c) 2021-$([System.DateTime]::Now.Year) - Mahdi Hosseini</Copyright>
<PackageProjectUrl>https://github.com/ghost1372/DevWinUI</PackageProjectUrl>
<RepositoryUrl>https://github.com/ghost1372/DevWinUI</RepositoryUrl>
<PackageReleaseNotes>https://github.com/ghost1372/DevWinUI/releases</PackageReleaseNotes>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
</PropertyGroup>
<PropertyGroup Condition="'$(IsGallery)' == 'false'">
<OutputPath>$(SolutionDir)Output\$(MSBuildProjectName)\$(Configuration)\</OutputPath>
<PackageOutputPath>$(SolutionDir)Output\</PackageOutputPath>
<GeneratePackageOnBuild Condition="'$(Configuration)' != 'Debug'">true</GeneratePackageOnBuild>
<TfmFolder Condition="$(TargetFrameworks.Contains(';'))">Multi</TfmFolder>
<TfmFolder Condition="'$(TfmFolder)' == ''">Single</TfmFolder>
<MSBuildProjectExtensionsPath>$(MSBuildProjectDirectory)\obj\$(TfmFolder)\</MSBuildProjectExtensionsPath>
</PropertyGroup>
<PropertyGroup Condition="'$(IsSourceGenerator)' == 'false'">
<WinSdkVersion>10.0.19041.0</WinSdkVersion>
<WinSdkVersion Condition="'$(IsShader)' == 'true'">10.0.22621.0</WinSdkVersion>
<DebugWinSdkVersion>$(WinSdkVersion)</DebugWinSdkVersion>
<DebugWinSdkVersion Condition="'$(IsShader)' == 'true'">10.0.26100.0</DebugWinSdkVersion>
<GalleryTargetFramework>net10.0-windows10.0.26100.0</GalleryTargetFramework>
<TargetFrameworks Condition="'$(IsGallery)' == 'false' And '$(Configuration)' == 'Release'">net8.0-windows$(WinSdkVersion);net9.0-windows$(WinSdkVersion);net10.0-windows$(WinSdkVersion)</TargetFrameworks>
<TargetFrameworks Condition="'$(IsGallery)' == 'false' And '$(Configuration)' == 'Debug'">net10.0-windows$(DebugWinSdkVersion)</TargetFrameworks>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
</PropertyGroup>
<PropertyGroup Condition="'$(IsSourceGenerator)' == 'false' And '$(IsContextMenu)' == 'false'">
<UseWinUI>true</UseWinUI>
<WinUISDKReferences>false</WinUISDKReferences>
</PropertyGroup>
<ItemGroup Condition="'$(IsSourceGenerator)' == 'false' And '$(IsContextMenu)' == 'false'">
<PackageReference Include="Microsoft.Windows.SDK.BuildTools.MSIX" Version="$(BuildToolsMSIXVersion)">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup Condition="'$(IsSourceGenerator)' == 'false' And '$(IsContextMenu)' == 'false' And '$(IsGallery)' == 'false'">
<PackageReference Include="Microsoft.WindowsAppSDK.WinUI" Version="$(WASDKWinUIVersion)" />
</ItemGroup>
<ItemGroup Condition="'$(IsGallery)' == 'false'">
<None Include="..\..\tools\Assets\DevWinUI.png" Pack="true" PackagePath="Icon.png" Visible="false" />
<None Include="..\..\LICENSE" Pack="true" PackagePath="" Visible="false" />
<None Include="README.md" Pack="true" PackagePath="" />
</ItemGroup>
<Target Name="GetVersion">
<Message Text="$(Version)" Importance="High" />
</Target>
</Project>