mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-06 16:16:44 +08:00
- 添加 Directory.Build.props 统一构建属性配置 - 配置 netstandard2.0 和 netstandard2.1 目标框架 - 集成 Meziantou.Polyfill 提供新特性支持 - 设置 Nullable 启用可空类型检查 - 配置文档文件生成和包标识设置 - 添加 Microsoft.CodeAnalysis 相关包引用 - 配置项目引用和命名空间引入规则
14 lines
656 B
XML
14 lines
656 B
XML
<Project>
|
|
<!-- Keep repository-wide analyzer behavior consistent while allowing only selected projects to opt into polyfills. -->
|
|
<ItemGroup>
|
|
<PackageReference Include="Meziantou.Analyzer" Version="3.0.48">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Update="Meziantou.Polyfill" Version="1.0.110">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
|
</PackageReference>
|
|
</ItemGroup>
|
|
</Project>
|