通常当我在Visual Studio 2015中处理项目时,我将修复构建错误。我将看到错误,然后找出问题,对代码进行更改,再次保存和构建。
构建将成功,如构建输出窗口中所示。
========== Build: 18 succeeded, 0 failed, 0 up-to-date, 1 skipped ==========
但是当我查看错误列表时,错误仍然存在。
编辑:
@MethodMan请求错误的来源。这是测试项目中的实际有效错误。
public void GetCustomerStatusInfoReportTest()
{
ReportManager target = new ReportManager();
List<GetCustomerStatusInfoResult> actual;
int resultCount;
actual = target.GetCustomerStatusInfoReport(1, DateTime.UtcNow.AddMonths(-3), DateTime.UtcNow, null, null, null, null, null);
resultCount = actual.Count;
Assert.IsTrue(resultCount > 0);
}