[CSHARP-2885] Always copy xunit.runner.json to output directory Created: 18/Dec/19  Updated: 28/Oct/23  Resolved: 18/Dec/19

Status: Closed
Project: C# Driver
Component/s: Build
Affects Version/s: 2.10.0
Fix Version/s: 2.11.0

Type: Bug Priority: Major - P3
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Update all relevant .csproj files with the following:

<ItemGroup>
    <None Update="xunit.runner.json">
      <CopyToOutputDirectory>Always</CopyToOutputDirectory>
    </None>
</ItemGroup>

The current value is `PreserveNewer` but we had test failing because somehow the copy in the output directory was wrong (but newer) and was not getting updated on a build, which resulted in tests not passing.



 Comments   
Comment by Githook User [ 18/Dec/19 ]

Author:

{'name': 'rstam', 'email': 'robert@robertstam.org', 'username': 'rstam'}

Message: CSHARP-2885: Always copy xunit.runner.json to output directory.
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/610c238be554d72f5f2a15a37520806bc6096de3

Comment by Robert Stam [ 18/Dec/19 ]

https://github.com/rstam/mongo-csharp-driver/pull/138

Generated at Wed Feb 07 21:43:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.