Browse Source

Work around NCover bug (NCover strips quotation marks)

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1226 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
Daniel Grunwald 20 years ago
parent
commit
b229f6a798
  1. 5
      src/AddIns/Misc/CodeCoverage/Project/Src/NCoverRunner.cs

5
src/AddIns/Misc/CodeCoverage/Project/Src/NCoverRunner.cs

@ -248,7 +248,10 @@ namespace ICSharpCode.CodeCoverage @@ -248,7 +248,10 @@ namespace ICSharpCode.CodeCoverage
}
ncoverArguments.AppendFormat("\"{0}\" ", profiledApplicationCommand);
ncoverArguments.Append(profiledApplicationCommandLineArguments);
//ncoverArguments.Append(profiledApplicationCommandLineArguments);
// HACK: Work around NCover bug: http://ncover.org/SITE/forums/thread/266.aspx
ncoverArguments.Append(profiledApplicationCommandLineArguments.Replace("\"", "\\\""));
return ncoverArguments.ToString();
}

Loading…
Cancel
Save