Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-19302

No code coverage statitics are generated for .NET x64 builds using vstestrunner plugin

XMLWordPrintable

      Where I work we are developing a .NET 4.5 application, and the application is compiled for 32-bit and 64-bit explicitly as we are reliant on unmanaged C++ binaries.

      Using the vstestrunner plugin I am able to get code coverage results for the 32-bit builds but not the 64-bit builds. Apart from the Platform and the Test Files parameters all other parameters are the same as seen in the attached images.

      Furthermore when I log into the Jenkins slave as the local Windows account that the Jenkins service runs under, I see that the generated TRX file has no code coverage results. However when logged onto the build server when I manually run the VSTest.Console.exe command with the same parameters used during the build I get code coverage results.

            Unassigned Unassigned
            ktenedios Kosta Tenedios
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: