I'm currently debugging an odd behavior with nunit. I've got some unit test which is reported to take 3.5seconds, but the build actually takes 30 seconds longer than without it. But this is only when run by means of msbuild, not when run inside visual studio.
So i was trying to access the MSBuild.ExtensionPack.CodeQuality.NUnitTimeTaken Property.
As per the documentation it seems i could access it as follows:
However, msbuild then complains: The "TimeTaken" parameter is not marked for output by the "MSBuild.ExtensionPack.CodeQuality.NUnit" task.
Now it might be that I'm doing something wrong, but for the other result values (Total, NotRun,...) the documentation shows to access them using the <Output ...> way. So i think that the [Output]-Attribute has just been forgotten on the Property.
Hi (First off, thanks for your great work)
I'm currently debugging an odd behavior with nunit. I've got some unit test which is reported to take 3.5seconds, but the build actually takes 30 seconds longer than without it. But this is only when run by means of msbuild, not when run inside visual studio.
So i was trying to access the
MSBuild.ExtensionPack.CodeQuality.NUnit
TimeTaken
Property. As per the documentation it seems i could access it as follows:However, msbuild then complains:
The "TimeTaken" parameter is not marked for output by the "MSBuild.ExtensionPack.CodeQuality.NUnit" task
.Now it might be that I'm doing something wrong, but for the other result values (Total, NotRun,...) the documentation shows to access them using the
<Output ...>
way. So i think that the[Output]
-Attribute has just been forgotten on the Property.Am i right? I'll gladly provide a pull request.