mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 19:03:29 +08:00
- 移除原有的IocContainer实现 - 添加MicrosoftDiContainer作为Microsoft.Extensions.DependencyInjection的适配器 - 修改ArchitectureServices使用MicrosoftDiContainer替代IocContainer - 更新所有相关测试类使用MicrosoftDiContainer - 添加Mediator和Microsoft.Extensions.DependencyInjection包引用 - 扩展IIocContainer接口支持更多注册方法 - 在架构初始化中添加Mediator服务注册
31 lines
1.3 KiB
XML
31 lines
1.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
||
|
||
<!--
|
||
配置项目构建属性
|
||
设置项目生成文档文件,并包含特定的Polyfill
|
||
-->
|
||
<PropertyGroup>
|
||
<PackageId>GeWuYou.$(AssemblyName)</PackageId>
|
||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||
<MeziantouPolyfill_IncludedPolyfills>T:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute</MeziantouPolyfill_IncludedPolyfills>
|
||
<Nullable>enable</Nullable>
|
||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||
</PropertyGroup>
|
||
|
||
<!-- 引入必要的命名空间 -->
|
||
<ItemGroup>
|
||
<Using Include="GFramework.Core.Abstractions"/>
|
||
</ItemGroup>
|
||
<ItemGroup>
|
||
<PackageReference Update="Meziantou.Analyzer" Version="2.0.299">
|
||
<PrivateAssets>all</PrivateAssets>
|
||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
||
</PackageReference>
|
||
<PackageReference Update="Meziantou.Polyfill" Version="1.0.101">
|
||
<PrivateAssets>all</PrivateAssets>
|
||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
||
</PackageReference>
|
||
<PackageReference Include="Mediator.Abstractions" Version="3.0.1"/>
|
||
</ItemGroup>
|
||
</Project>
|