GFramework/GFramework.csproj
GwWuYou 7d554cbddf feat(core): 添加对 .NET 10 框架的支持
- 在 GFramework.Core 项目中添加 net10.0 目标框架
- 在 GFramework.Core.Godot 项目中添加 net10.0 目标框架
- 在主 GFramework 项目中添加 net10.0 目标框架
- 调整目标框架顺序,将 net8.0 置于首位
2025-12-17 21:26:46 +08:00

63 lines
2.9 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PackageId>GeWuYou.GFramework</PackageId>
<Authors>gewuyou</Authors>
<Product>GeWuYou.GFramework</Product>
<Description>404 not found</Description>
<Copyright>Copyright © 2025</Copyright>
<RepositoryUrl>https://github.com/GeWuYou/GFramework</RepositoryUrl>
<PackageProjectUrl>https://github.com/GeWuYou/GFramework</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>game;framework</PackageTags>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<DebugType>portable</DebugType>
<IncludeSymbols>false</IncludeSymbols>
<RootNamespace>GFramework</RootNamespace>
<PackageReadmeFile>README.md</PackageReadmeFile>
<TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<IncludeBuildOutput>false</IncludeBuildOutput>
</PropertyGroup>
<!-- 排除不需要参与打包/编译的目录 -->
<ItemGroup>
<None Include="README.md" Pack="true" PackagePath=""/>
<None Remove="GFramework.Generator\**"/>
<None Remove="GFramework.Generator.Attributes\**"/>
<None Remove="GFramework.Core\**"/>
<Compile Remove="GFramework.Generator\**"/>
<Compile Remove="GFramework.Generator.Attributes\**"/>
<Compile Remove="GFramework.Core\**"/>
<EmbeddedResource Remove="GFramework.Generator\**"/>
<EmbeddedResource Remove="GFramework.Generator.Attributes\**"/>
<EmbeddedResource Remove="GFramework.Core\**"/>
<Compile Remove="GFramework.Godot\**"/>
<EmbeddedResource Remove="GFramework.Godot\**"/>
<None Remove="GFramework.Godot\**"/>
<Compile Update="GFramework.Core.Godot\godot\extensions\NodeExtensions.cs">
<Link>GFramework.Godot\godot\extensions\NodeExtensions.cs</Link>
</Compile>
<Compile Update="GFramework.Core.Godot\godot\extensions\UnRegisterExtension.cs">
<Link>GFramework.Godot\godot\extensions\UnRegisterExtension.cs</Link>
</Compile>
<Compile Remove="GFramework.Core.Godot\**"/>
<EmbeddedResource Remove="GFramework.Core.Godot\**"/>
<None Remove="GFramework.Core.Godot\**"/>
</ItemGroup>
<!-- 作为 Analyzer 引入本地 SourceGenerator -->
<ItemGroup>
<ProjectReference Include="GFramework.Generator\GFramework.Generator.csproj"
OutputItemType="Analyzer"
ReferenceOutputAssembly="false"/>
<ProjectReference Include="GFramework.Generator.Attributes\GFramework.Generator.Attributes.csproj"/>
<ProjectReference Include="GFramework.Core\GFramework.Core.csproj"/>
</ItemGroup>
</Project>