Skip to content

Commit abfe0fc

Browse files
committed
test(protocol): copy dependency assembly for plugin tests
1 parent d95e0b7 commit abfe0fc

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

‎global.json‎

Lines changed: 0 additions & 6 deletions
This file was deleted.

‎tests/MCServerLauncher.ProtocolTests/MCServerLauncher.ProtocolTests.csproj‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
<ItemGroup>
1111
<PackageReference Include="coverlet.collector" Version="6.0.4" />
12+
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="10.0.9" GeneratePathProperty="true" />
1213
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
1314
<PackageReference Include="RustyOptions" Version="0.10.1" />
1415
<PackageReference Include="xunit" Version="2.9.3" />
@@ -37,4 +38,11 @@
3738
<Using Include="Xunit" />
3839
</ItemGroup>
3940

41+
<Target Name="CopyPluginDependencyAssembly" AfterTargets="Build">
42+
<Copy
43+
SourceFiles="$(PkgMicrosoft_Extensions_DependencyInjection)\lib\net10.0\Microsoft.Extensions.DependencyInjection.dll"
44+
DestinationFolder="$(OutputPath)"
45+
SkipUnchangedFiles="true" />
46+
</Target>
47+
4048
</Project>

0 commit comments

Comments
 (0)