gpt4 book ai didi

code-coverage - 无法使用 Visual Studio 2019 分析代码覆盖率

转载 作者:行者123 更新时间:2023-12-03 22:48:22 25 4
gpt4 key购买 nike

我正在使用 Visual Studio 2019 来开发和测试 .NET Core 应用程序。几个月前,我记得我所有的测试都成功了,我能够启动代码覆盖率分析。今天我启动了一个代码覆盖率分析,但它失败了(测试总是成功的):

Empty results generated: No binaries were instrumented. Make sure the tests ran, required binaries were loaded, had matching symbol files, and were not excluded through custom settings. For more information see https://go.microsoft.com/fwlink/?LinkID=253731



我一直在升级我的 Visual Studio,我现在拥有的当前版本是 Microsoft Visual Studio Enterprise 2019(版本 16.4.0)

关于这个问题的任何经验或反馈?

最佳答案

奇怪的是,将“处理器架构”设置为 x64 对我有用:

看截图

enter image description here

关于code-coverage - 无法使用 Visual Studio 2019 分析代码覆盖率,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59250411/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com