Code Coverage Results periodically gives: Empty results generated

后端 未结 8 1033
温柔的废话
温柔的废话 2021-01-12 05:18

I\'ve run into a recurring problem with a few different projects using MSTest in VS2012, where every now and then my code coverage stops working (seemingly at random) and in

相关标签:
8条回答
  • 2021-01-12 05:49

    I modified the Property group associated with my debug environment so that it looks like this:

     <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
        <DocumentationFile>OurProjectName.xml</DocumentationFile>
        <DebugType>full</DebugType>
        <DebugSymbols>true</DebugSymbols>
      </PropertyGroup>
    

    For my core.net 3.1 application running xUnit 2.4.1 this was the only thing that fixed it in visual studio 2019 preview.

    0 讨论(0)
  • 2021-01-12 05:49

    Configure Test -> Processor Architecture >> AnyCPU Projects setting >>> X86 to X64.This works for me

    0 讨论(0)
提交回复
热议问题