style(build): 格式化项目文件中的包引用

- 移除 JackCraft.I18N.csproj 中 PackageReference 的多余空格
- 统一 solution 文件中项目路径的 XML 格式
- 移除 Test 项目中所有 PackageReference 的多余空格
- 移除 TestMvvm 项目中所有 PackageReference 的多余空格
This commit is contained in:
2026-01-19 03:21:03 +08:00
parent 4d858e69b8
commit 416cbc9224
4 changed files with 17 additions and 17 deletions

View File

@@ -1,9 +1,9 @@
<Solution> <Solution>
<Folder Name="/Solution Folder/"> <Folder Name="/Solution Folder/">
<File Path="LICENSE" /> <File Path="LICENSE"/>
<File Path="Readme.MD" /> <File Path="Readme.MD"/>
</Folder> </Folder>
<Project Path="JackCraft.I18N/JackCraft.I18N.csproj" /> <Project Path="JackCraft.I18N/JackCraft.I18N.csproj"/>
<Project Path="Test/Test.csproj" /> <Project Path="Test/Test.csproj"/>
<Project Path="TestMvvm/TestMvvm.csproj" /> <Project Path="TestMvvm/TestMvvm.csproj"/>
</Solution> </Solution>

View File

@@ -12,7 +12,7 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Avalonia" Version="11.3.11" /> <PackageReference Include="Avalonia" Version="11.3.11"/>
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@@ -9,10 +9,10 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Avalonia" Version="11.3.11" /> <PackageReference Include="Avalonia" Version="11.3.11"/>
<PackageReference Include="Avalonia.Desktop" Version="11.3.11" /> <PackageReference Include="Avalonia.Desktop" Version="11.3.11"/>
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.3.11" /> <PackageReference Include="Avalonia.Themes.Fluent" Version="11.3.11"/>
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.3.11" /> <PackageReference Include="Avalonia.Fonts.Inter" Version="11.3.11"/>
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.--> <!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Include="Avalonia.Diagnostics" Version="11.3.11"> <PackageReference Include="Avalonia.Diagnostics" Version="11.3.11">
<IncludeAssets Condition="'$(Configuration)' != 'Debug'">None</IncludeAssets> <IncludeAssets Condition="'$(Configuration)' != 'Debug'">None</IncludeAssets>

View File

@@ -14,16 +14,16 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="Avalonia" Version="11.3.11" /> <PackageReference Include="Avalonia" Version="11.3.11"/>
<PackageReference Include="Avalonia.Desktop" Version="11.3.11" /> <PackageReference Include="Avalonia.Desktop" Version="11.3.11"/>
<PackageReference Include="Avalonia.Themes.Fluent" Version="11.3.11" /> <PackageReference Include="Avalonia.Themes.Fluent" Version="11.3.11"/>
<PackageReference Include="Avalonia.Fonts.Inter" Version="11.3.11" /> <PackageReference Include="Avalonia.Fonts.Inter" Version="11.3.11"/>
<!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.--> <!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
<PackageReference Include="Avalonia.Diagnostics" Version="11.3.11"> <PackageReference Include="Avalonia.Diagnostics" Version="11.3.11">
<IncludeAssets Condition="'$(Configuration)' != 'Debug'">None</IncludeAssets> <IncludeAssets Condition="'$(Configuration)' != 'Debug'">None</IncludeAssets>
<PrivateAssets Condition="'$(Configuration)' != 'Debug'">All</PrivateAssets> <PrivateAssets Condition="'$(Configuration)' != 'Debug'">All</PrivateAssets>
</PackageReference> </PackageReference>
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" /> <PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0"/>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>