Skip to content

Commit bf0099f

Browse files
committed
🔧 build: 更新项目配置和依赖
- 在 Bing.Elasticsearch.WinformSample 项目中添加非 Windows 系统配置 - 在 Bing.Elasticsearch.Tests 项目中移除 Xunit.DependencyInjection.Logging 依赖
1 parent ea2d67a commit bf0099f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

samples/Bing.Elasticsearch.WinformSample/Bing.Elasticsearch.WinformSample.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
<UseWindowsForms>true</UseWindowsForms>
77
</PropertyGroup>
88

9+
<PropertyGroup Condition="'$(OS)' != 'Windows_NT'">
10+
<EnableWindowsTargeting>false</EnableWindowsTargeting>
11+
<BuildProject>false</BuildProject>
12+
</PropertyGroup>
13+
914
<ItemGroup>
1015
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="6.0.0" />
1116
</ItemGroup>

tests/Bing.Elasticsearch.Tests/Bing.Elasticsearch.Tests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
<ItemGroup>
99
<PackageReference Include="Bing.MockData" Version="0.0.1-preview-20190114-1" />
1010
<PackageReference Include="Bing.Utils.IdUtils" Version="1.5.0" />
11-
<PackageReference Include="Xunit.DependencyInjection.Logging" Version="8.0.1" />
1211
</ItemGroup>
1312

1413
<ItemGroup>

0 commit comments

Comments
 (0)