Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-2885

Always copy xunit.runner.json to output directory

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.11.0
    • Affects Version/s: 2.10.0
    • Component/s: Build
    • None

      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.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            robert@mongodb.com Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: