Skip to content

Commit

Permalink
Replace ItemGroup item with Copy task to see if that fixes xunit/xuni…
Browse files Browse the repository at this point in the history
  • Loading branch information
bradwilson committed Jan 15, 2024
1 parent f970798 commit e266e72
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible>
</None>
<None Include="$(MSBuildThisFileDirectory)xunit.abstractions.dll">
<Link>xunit.abstractions.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible>
</None>
<None Include="$(MSBuildThisFileDirectory)xunit.runner.reporters.net452.dll">
<Link>xunit.runner.reporters.net452.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="XunitVSTestCopyAbstractions" AfterTargets="Build">
<Copy SourceFiles="$(MSBuildThisFileDirectory)xunit.abstractions.dll" DestinationFolder="$(OutputPath)" SkipUnchangedFiles="true" />
</Target>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@

<file target="build\net462\" src="bin\$Configuration$\net462\xunit.*.dll" />
<file target="build\net462\xunit.runner.visualstudio.props" src="build\xunit.runner.visualstudio.desktop.props" />
<file target="build\net462\xunit.runner.visualstudio.targets" src="build\xunit.runner.visualstudio.targets" />

<file target="build\net6.0\" src="bin\$Configuration$\net6.0\xunit.*.dll" />
<file target="build\net6.0\xunit.runner.visualstudio.props" src="build\xunit.runner.visualstudio.dotnetcore.props" />
<file target="build\net6.0\xunit.runner.visualstudio.targets" src="build\xunit.runner.visualstudio.targets" />

<file target="lib\net462\" src="build\_._" />

Expand Down

0 comments on commit e266e72

Please sign in to comment.