forked from ghost1372/DevWinUI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
61 lines (53 loc) · 3.3 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
55
56
57
58
59
60
61
<Project>
<PropertyGroup>
<GalleryAppName>DevWinUI.Gallery</GalleryAppName>
<ContextMenuLibName>DevWinUI.ContextMenu</ContextMenuLibName>
<BaseNamespace>DevWinUI</BaseNamespace>
<!-- Version -->
<LibraryMajorVersion>8</LibraryMajorVersion>
<PreviewLabel>-Preview3</PreviewLabel>
<IsPreviewBuild>true</IsPreviewBuild>
<PreviewBuildSuffix Condition="'$(IsPreviewBuild)' == 'true'">$(PreviewLabel)</PreviewBuildSuffix>
<!-- The NuGet package version -->
<XAMLToolsVersion>1.0.0-alpha0167</XAMLToolsVersion>
<CsWin32Version>0.3.106</CsWin32Version>
<CommunityToolkitMediaVersion>8.2.241112-preview1</CommunityToolkitMediaVersion>
<Win2dVersion>1.3.0</Win2dVersion>
<DebugTargetFramework>net9.0-windows10.0.19041.0</DebugTargetFramework>
<NoWarn>WMC1506;WMC0001;CA1416;CS8632;CS0067;CS0078;CS0649;CS0414;NU1903;NU1902</NoWarn>
<OutputPath Condition="'$(MSBuildProjectName)' != $(GalleryAppName)">$(SolutionDir)Output\</OutputPath>
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
<TargetFrameworks Condition=" '$(Configuration)' == 'Release' And $(MSBuildProjectName) != $(GalleryAppName) ">net8.0-windows10.0.19041.0;net9.0-windows10.0.19041.0</TargetFrameworks>
<TargetFrameworks Condition=" '$(Configuration)' == 'Debug' And $(MSBuildProjectName) != $(GalleryAppName)">$(DebugTargetFramework)</TargetFrameworks>
<EnableMsixTooling Condition="'$(GITHUB_ACTIONS)' == 'true' And '$(MSBuildProjectName)' != $(ContextMenuLibName)">true</EnableMsixTooling>
<UseWinUI Condition="'$(MSBuildProjectName)' != $(ContextMenuLibName)">true</UseWinUI>
<RootNamespace>$(BaseNamespace)</RootNamespace>
<ImplicitUsings>true</ImplicitUsings>
<LangVersion>Latest</LangVersion>
<IsAotCompatible>true</IsAotCompatible>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<!-- The NuGet package options -->
<PackageIcon>Icon.png</PackageIcon>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<Authors>Mahdi Hosseini</Authors>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<GeneratePackageOnBuild Condition="'$(Configuration)' != 'Debug' And '$(MSBuildProjectName)' != $(GalleryAppName)">True</GeneratePackageOnBuild>
<Copyright>Copyright (c) 2021-2025 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>
</PropertyGroup>
<!-- The NuGet versions of dependencies to build against. -->
<ItemGroup Condition="'$(MSBuildProjectName)' != $(ContextMenuLibName)">
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.7.241114004-experimental1" />
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1742" />
</ItemGroup>
<ItemGroup Condition="'$(MSBuildProjectName)' != $(GalleryAppName)">
<None Include="Assets\Icon.png" Pack="true" PackagePath="" />
<None Include="..\..\LICENSE" Pack="true" PackagePath="" />
<None Include="README.md" Pack="true" PackagePath="" />
</ItemGroup>
</Project>