VSTS构建 - 单元测试失败,“字体不支持样式” [英] VSTS Build - Unit test fails with "Font does not support style"

查看:90
本文介绍了VSTS构建 - 单元测试失败,“字体不支持样式”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个运行单元测试的VSTS版本,我的一个测试失败,显示以下消息:

 System.ArgumentException:字体'Microsoft Sans Serif'不支持'Regular'样式。


当我构建时本地测试通过罚款。显然我无法访问VSTS构建服务器,所以我不能只安装字体......


有没有人知道我怎么能把这个测试带到通过VSTS构建?


提前致谢,


Adrian

解决方案

问候,


在此不确定,在我看来需要调查才能找到问题的原因,所以我建议你创建支持票并且团队中的某个形式将帮助您解决问题。


https://www.visualstudio.com/en-us/support/support -overview-vs


问候,


Hi,

I have a VSTS build that runs unit tests and one of my tests is failing with the following message:

  System.ArgumentException: Font 'Microsoft Sans Serif' does not support style 'Regular'.

When I build locally this test passes fine. Obviously I don't have access to the VSTS build server(s) so I can't just install the font...

Does anyone have any idea how I can get this test to pass in a VSTS build?

Thanks in advance,

Adrian

解决方案

Greetings,

Not sure on this, looks to me like requires investigation to find cause of the issue, so I suggest you to create support ticket and some one form the team will help you to resolve the issue.

https://www.visualstudio.com/en-us/support/support-overview-vs

Regards,


这篇关于VSTS构建 - 单元测试失败,“字体不支持样式”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆