Skip to content

Commit 8119c57

Browse files
authored
Always copy nuget package output to build directory (#6631)
1 parent 9020ab6 commit 8119c57

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Servers/IIS/IIS/test/IIS.BackwardsCompatibility.FunctionalTests/IIS.BackwardsCompatibility.FunctionalTests.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,11 @@
3636
<Reference Include="System.Net.WebSockets.WebSocketProtocol" />
3737
</ItemGroup>
3838

39+
<Target Name="RemoveSourceOverride" BeforeTargets="_CopyOutOfDateSourceItemsToOutputDirectory">
40+
<ItemGroup>
41+
<SourceItemsToRemove Include="@(_SourceItemsToCopyToOutputDirectory)" Condition="$([System.String]::Copy(%(_SourceItemsToCopyToOutputDirectory.FullPath)).Contains('IIS\AspNetCoreModule')) == 'true'" />
42+
<_SourceItemsToCopyToOutputDirectory Remove="@(SourceItemsToRemove)" />
43+
</ItemGroup>
44+
</Target>
45+
3946
</Project>

0 commit comments

Comments
 (0)