Skip to content

Commit c0ff185

Browse files
committed
FunctionsPreservedDependencies
1 parent db6ed87 commit c0ff185

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/IntegrationTests.HostV4/IntegrationTests.HostV4.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
2626
</ItemGroup>
2727

28+
<ItemGroup>
29+
<!-- Prevent Functions from removing NServiceBus dependencies that it thinks are included "in the box" -->
30+
<FunctionsPreservedDependencies Include="System.Diagnostics.DiagnosticSource.dll" />
31+
<FunctionsPreservedDependencies Include="System.Text.Json.dll" />
32+
<FunctionsPreservedDependencies Include="System.Text.Encodings.Web.dll" />
33+
</ItemGroup>
34+
2835
<ItemGroup>
2936
<None Update="host.json" CopyToOutputDirectory="PreserveNewest" />
3037
<None Update="local.settings.json" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="Never" />

0 commit comments

Comments
 (0)