将Visual Studio Enterprise 2017从15.3.2更新到15.5.1后无法调试我的Coded UI测试。 [英] Not able to debug my Coded UI tests after updating Visual Studio Enterprise 2017 from 15.3.2 to 15.5.1.
问题描述
注意: 我可以"运行"在测试中,此错误仅出现在"调试"中。测试。
Note: I am able to "Run" the test, this error comes only on "Debugging" the test.
将Visual Studio Enterprise 2017从15.3.2更新到15.5.1后,我无法调试我的COded UI测试。调试在以下错误/异常开始时失败:
After updating Visual Studio Enterprise 2017 from 15.3.2 to 15.5.1, I am not able to debug my COded UI Tests. The debug fails as soon as it starts with the below error/exception:
结果消息:
单元测试适配器引发异常:
无法加载一个或更多请求的类型。检索LoaderExceptions属性以获取更多信息..
Result Message:
Unit Test Adapter threw exception:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information..
调试的输出为:
推荐答案
Hi Akasri,
Hi Akasri,
I have reported this issue to the product team before.
I have reported this issue to the product team before.
Please try to set the System Envi ronment Value:
Please try to set the System Environment Value:
__UNITTESTEXPLORER_VSINSTALLPATH__ (two underscores) to Visual Studio IDE location [like C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE]
View the result.
View the result.
Best Regards,
Best Regards,
Jack
这篇关于将Visual Studio Enterprise 2017从15.3.2更新到15.5.1后无法调试我的Coded UI测试。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!