mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
- 添加 IsRoslynAnalyzer 和 GeneratePackageOnBuild 属性 - 更新项目引用配置以支持分析器使用 - 添加 System.Collections.Immutable 包引用 - 配置生成文件输出路径和可见性 - 添加 README.md 文件并配置打包路径 - 设置包读取文档文件引用
52 lines
2.2 KiB
XML
52 lines
2.2 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\**" />
|
|
<None Remove="GFramework.Core\**" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Remove="GFramework.Generator\**" />
|
|
<Compile Remove="GFramework.Generator.Attributes\**" />
|
|
<Compile Remove="GFramework.Core\**" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<EmbeddedResource Remove="GFramework.Generator\**" />
|
|
<EmbeddedResource Remove="GFramework.Generator.Attributes\**" />
|
|
<EmbeddedResource Remove="GFramework.Core\**" />
|
|
</ItemGroup>
|
|
|
|
<!-- 引用 Source Generator -->
|
|
<ItemGroup>
|
|
<ProjectReference Include="GFramework.Generator\GFramework.Generator.csproj" PrivateAssets="all" />
|
|
<ProjectReference Include="GFramework.Generator.Attributes\GFramework.Generator.Attributes.csproj"/>
|
|
<ProjectReference Include="GFramework.Core\GFramework.Core.csproj"/>
|
|
</ItemGroup>
|
|
|
|
</Project> |