Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20990

RE: AQTime can't profile code coverage on a unit test project based on .NET 4 and NUnit

$
0
0
Hi Kevin,

It looks like NUnit console is running not the same version of .NET Framework as the version the profiled assembly was built for. This makes NUnit load the assembly to a separate process where the needed version of the framework is initialized. However, you are not profiling that other process apparently, you are profiling the main NUnit process. So, try working around the problem by running the console under the same version of .NET Framework. This can be done through the [url=http://msdn.microsoft.com/en-us/library/w4atty68.aspx]<supportedRuntime> element[/url].

Viewing all articles
Browse latest Browse all 20990

Trending Articles