mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 19:03:29 +08:00
- 在所有项目中禁用 ImplicitUsings 配置 - 为所有项目添加 GlobalUsings.cs 文件统一管理常用命名空间 - 统一添加 System、System.Collections.Generic、System.Linq、System.Threading 和 System.Threading.Tasks 的全局引用 - 更新项目文件中的 PackageReference 格式规范化 - 移除各个源文件顶部的重复 using 语句 - 添加标准版权头注释到全局引用文件
17 lines
623 B
XML
17 lines
623 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<PackageId>GeWuYou.$(AssemblyName)</PackageId>
|
|
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
|
|
<ImplicitUsings>disable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\GFramework.Core\GFramework.Core.csproj" />
|
|
<ProjectReference Include="..\$(AssemblyName).Abstractions\$(AssemblyName).Abstractions.csproj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.4" />
|
|
</ItemGroup>
|
|
</Project>
|