protected override void ExecuteTask() { Project.Log(Level.Info, "Removing code documentation from " + projectLocation + " in configuration " + configuration); VisualStudioProject project = new CSharpProject(projectLocation); project.RemoveXmlDocumentation(configuration); project.Save(); }
public virtual bool IsATest(CSharpProject project, string fileName) { bool isASpecifiedTestFile = testFiles.Contains(delegate(string obj) { return fileName.Contains(obj); }); bool isASpecifiedNonTestFile = nonTestFiles.Contains(delegate(string obj) { return fileName.Contains(obj); }); return (HasAStandardTestName(fileName) || isASpecifiedTestFile) && !isASpecifiedNonTestFile; }