Opencover orderby 问题
Opencover orderby issue
OpenCover 运行 很好,直到我替换了这行代码:
myObject = myObjectRepository.SelectAll().ToList();
来自
myObject = myObjectRepository.SelectAll().OrderBy(x => x.MyProp).ToList();
然后我松开了 opencover 的报告:
No results, this could be for a number of reasons. The most common
reasons are:
1) missing PDBs for the assemblies that match the filter please review the
output file and refer to the Usage guide (Usage.rtf) about filters.
2) the profiler may not be registered correctly, please refer to the Usage
guide and the -register switch.
有人能给我解释一下吗?
我的错。
我使用的是旧版本 (4.5.3522)。
我更新到 4.6.519 版本,这个问题消失了。
OpenCover 运行 很好,直到我替换了这行代码:
myObject = myObjectRepository.SelectAll().ToList();
来自
myObject = myObjectRepository.SelectAll().OrderBy(x => x.MyProp).ToList();
然后我松开了 opencover 的报告:
No results, this could be for a number of reasons. The most common reasons are: 1) missing PDBs for the assemblies that match the filter please review the output file and refer to the Usage guide (Usage.rtf) about filters. 2) the profiler may not be registered correctly, please refer to the Usage guide and the -register switch.
有人能给我解释一下吗?
我的错。
我使用的是旧版本 (4.5.3522)。
我更新到 4.6.519 版本,这个问题消失了。