Force NCover 1.5.8 to use v4 framework like testdriven.net does?

前端 未结 2 418
死守一世寂寞
死守一世寂寞 2020-12-24 03:03

I want to run coverage from the command line, but can\'t seem to get NCover 1.5.8 to instrument the code. It must be possible as when I run coverage tests with TestDriven.n

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-24 03:45

    I may have misunderstood your problem, but if you're trying to force NCover to run in the .NET 4.0 runtime you can try to place the supportedRuntime element in its configuration file.

    
      
        
      
    
    

    This will force .NET 4.0 upon the executable without the need to rebuild it.

提交回复
热议问题