Problems with travis for C#

落花浮王杯 提交于 2019-12-06 13:14:19
Matt Ward

Your tests are using MSTest and referencing the Microsoft.VisualStudio.QualityTools.UnitTestFramework assembly which is typically installed by Visual Studio.

The Microsoft.VisualStudio.QualityTools.UnitTestFramework will not be included with Mono.

Probably the simplest solution is to switch to using NUnit instead of MSTest if you want to run the tests on both Windows and Mono.

Whilst it is possible to get MSTest installed without Visual Studio on Windows I suspect this will not be possible on a non-Windows operating system.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!