NUnit 2.5.8, lots of nunit-agent.exe

前端 未结 2 1249
青春惊慌失措
青春惊慌失措 2020-12-16 16:14

Each time I run a test in nunit I get another nunit-agent, which does not exit the test completes, or when the tests are reloaded in nunit or when I restart nunit. This e

相关标签:
2条回答
  • 2020-12-16 17:08

    I fixed this problem by upgrading to version 2.5.9 (development build). But this has other problems - so Sean's answer is better.

    0 讨论(0)
  • 2020-12-16 17:11

    I've just encountered the same problem. The fix is to edit the NUnit.exe.config file and add this:

    <startup>
      <requiredRuntime version="4.0.30319" />
    </startup>
    

    as a child of the configuration element.

    It also fixes another problem which is that you couldn't attach to NUnit from the debugger in order to set breakpoints in your tests.

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