Skip to content

Commit 4229553

Browse files
authored
Code Quality: Improved DependencyProperty generator (#16025)
1 parent b4fcfb5 commit 4229553

18 files changed

+405
-724
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,29 @@
11
<!-- Copyright (c) 2024 Files Community. Licensed under the MIT License. See the LICENSE. -->
22
<Project Sdk="Microsoft.NET.Sdk">
33

4-
<PropertyGroup>
5-
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
6-
<TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion>
7-
<UseWinUI>true</UseWinUI>
8-
<SupportedOSPlatformVersion>10.0.19041.0</SupportedOSPlatformVersion>
9-
<Nullable>enable</Nullable>
10-
<Configurations>Debug;Release;Stable;Preview;Store</Configurations>
11-
<Platforms>x86;x64;arm64</Platforms>
12-
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
13-
<DefineConstants Condition="'$(Configuration)' == 'Debug'">TRACE;DEBUG;NETFX_CORE</DefineConstants>
14-
<DefineConstants Condition="'$(Configuration)' != 'Debug'">TRACE;RELEASE;NETFX_CORE</DefineConstants>
15-
<Optimize Condition="'$(Configuration)' != 'Debug'">true</Optimize>
16-
</PropertyGroup>
4+
<PropertyGroup>
5+
<TargetFramework>net8.0-windows10.0.22621.0</TargetFramework>
6+
<TargetPlatformMinVersion>10.0.19041.0</TargetPlatformMinVersion>
7+
<UseWinUI>true</UseWinUI>
8+
<SupportedOSPlatformVersion>10.0.19041.0</SupportedOSPlatformVersion>
9+
<Nullable>enable</Nullable>
10+
<Configurations>Debug;Release;Stable;Preview;Store</Configurations>
11+
<Platforms>x86;x64;arm64</Platforms>
12+
<RuntimeIdentifiers>win-x86;win-x64;win-arm64</RuntimeIdentifiers>
13+
<DefineConstants Condition="'$(Configuration)' == 'Debug'">TRACE;DEBUG;NETFX_CORE</DefineConstants>
14+
<DefineConstants Condition="'$(Configuration)' != 'Debug'">TRACE;RELEASE;NETFX_CORE</DefineConstants>
15+
<Optimize Condition="'$(Configuration)' != 'Debug'">true</Optimize>
16+
</PropertyGroup>
1717

18-
<ItemGroup>
19-
<PackageReference Include="CommunityToolkit.WinUI.UI" Version="7.1.2" />
20-
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240627000" />
21-
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.3233" />
22-
</ItemGroup>
18+
<ItemGroup>
19+
<PackageReference Include="CommunityToolkit.WinUI.UI" Version="7.1.2" />
20+
<PackageReference Include="Microsoft.WindowsAppSDK" Version="1.5.240627000" />
21+
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.3233" />
22+
</ItemGroup>
23+
24+
<ItemGroup>
25+
<ProjectReference Include="..\Files.Shared\Files.Shared.csproj" />
26+
<ProjectReference Include="..\Files.Core.SourceGenerator\Files.Core.SourceGenerator.csproj" OutputItemType="Analyzer" ReferenceOutputAssembly="false" />
27+
</ItemGroup>
2328

2429
</Project>
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// Copyright (c) 2024 Files Community
2+
// Licensed under the MIT License. See the LICENSE.
3+
4+
// System
5+
global using global::System;
6+
global using global::System.Collections;
7+
global using global::System.Collections.Generic;
8+
global using global::System.Collections.ObjectModel;
9+
global using global::System.Linq;
10+
global using global::System.Threading;
11+
global using global::System.Threading.Tasks;
12+
global using global::System.ComponentModel;
13+
global using global::System.Diagnostics;
14+
global using SystemIO = global::System.IO;
15+
16+
// Files.Shared
17+
global using global::Files.Shared;
18+
global using global::Files.Shared.Attributes;
19+
global using global::Files.Shared.Extensions;

0 commit comments

Comments
 (0)