mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
- 新增 EnumExtensionsGenerator 源生成器 - 实现 GenerateEnumExtensionsAttribute 特性标注 - 为标记的枚举自动生成 IsXXX 和 IsIn 扩展方法 - 配置项目引用及 Analyzer 打包设置 - 更新解决方案文件包含新增项目 - 调整主项目配置排除生成器相关文件编译
50 lines
2.0 KiB
XML
50 lines
2.0 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>false</GeneratePackageOnBuild>
|
|
<RepositoryType>git</RepositoryType>
|
|
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
|
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
|
<IncludeSymbols>true</IncludeSymbols>
|
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
|
<RootNamespace>GFramework</RootNamespace>
|
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
|
<TargetFrameworks>net9.0;net8.0</TargetFrameworks>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="README.md" Pack="true" PackagePath="" />
|
|
<None Remove="GFramework.Generator\**" />
|
|
<None Remove="GFramework.Generator.Attributes\**" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Remove="GFramework.Generator\**" />
|
|
<Compile Remove="GFramework.Generator.Attributes\**" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Remove="GFramework.Generator\**" />
|
|
<EmbeddedResource Remove="GFramework.Generator.Attributes\**" />
|
|
</ItemGroup>
|
|
|
|
<!-- 引用 Source Generator -->
|
|
<ItemGroup>
|
|
<ProjectReference Include="GFramework.Generator\GFramework.Generator.csproj"
|
|
OutputItemType="Analyzer"
|
|
ReferenceOutputAssembly="false"/>
|
|
<ProjectReference Include="GFramework.Generator.Attributes\GFramework.Generator.Attributes.csproj"/>
|
|
</ItemGroup>
|
|
|
|
</Project> |