NCoverExplorer.Extras
NCoverExplorer.Extras
Don't know if this the correct space to log this, or if the msbuild tasks are even supported. I've made a couple of changes, and didn't know if there was a place to flow these back up to the user community.
Anyways, the "NCoverExplorer" task didn't have the "ProjectName" property hooked up in the "GenerateCommandLineCommands()" overriden method. I added this to the top.
protected override string GenerateCommandLineCommands()Also, I wanted to change the algorithm for the "NCover" and "NCoverExplorer" targets (CheckToolPath). If the ToolPath is defined, it will be used. However, if the ToolPath isn't defined, I would like to change it to the following algorithm.
{
BuildTempConfigXmlFile();
StringBuilder builder = new StringBuilder();
if (!string.IsNullOrEmpty(projectName))
{
builder.AppendFormat(" /p:\"{0}\"", projectName);
}
- Check default location in Program Files (currerntly being done)
- If not present, just assume that it is in the user's path and execute. You would obviously get an error if it wasn't found (which seems better than not trying to execute and just aborting).
Thanks again for the awesome tool and the kick start on moving our tools into msbuild tasks. Let me know if you would like me to post updates somewhere (in case you like any of the ideas and want to incorporate them).
Thanks,
Mitch