mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-25 04:59:01 +08:00
- 在 NuGet 包中实现可选的 transitive global usings 功能 - 添加 XML 配置方式启用模块级自动命名空间导入 - 支持通过 GFrameworkExcludedUsing 排除特定命名空间 - 为所有运行时模块生成对应的 buildTransitive props 文件 - 添加 Python 脚本自动生成和验证命名空间配置 - 在文档中添加新的安装配置说明 - 创建单元测试验证生成脚本的同步状态
31 lines
1.6 KiB
XML
31 lines
1.6 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<PackageId>GeWuYou.$(AssemblyName)</PackageId>
|
|
<ImplicitUsings>disable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<!-- Godot.SourceGenerators expects this property from Godot.NET.Sdk.
|
|
Provide a safe default so source generators can run in plain SDK-style builds as well. -->
|
|
<GodotProjectDir Condition="'$(GodotProjectDir)' == ''">$(MSBuildProjectDirectory)</GodotProjectDir>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Godot.SourceGenerators" Version="4.6.1" PrivateAssets="all"/>
|
|
<PackageReference Include="GodotSharp" Version="4.6.1"/>
|
|
<PackageReference Include="GodotSharpEditor" Version="4.6.1" PrivateAssets="all"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\GFramework.Game\GFramework.Game.csproj"/>
|
|
<ProjectReference Include="..\GFramework.Game.Abstractions\GFramework.Game.Abstractions.csproj" PrivateAssets="all"/>
|
|
<ProjectReference Include="..\GFramework.Core.Abstractions\GFramework.Core.Abstractions.csproj" PrivateAssets="all"/>
|
|
</ItemGroup>
|
|
<!-- <auto-generated gframework-transitive-global-usings> -->
|
|
<ItemGroup>
|
|
<None Include="buildTransitive\GeWuYou.GFramework.Godot.props" Pack="true" PackagePath="buildTransitive" Visible="false"/>
|
|
</ItemGroup>
|
|
<!-- </auto-generated gframework-transitive-global-usings> -->
|
|
</Project>
|