我想使用 Icarus 和/或 Echo 运行 MbUnit 测试,而无需安装 Gallio。我已将 中的所有文件复制到我们项目文件GallioBundle/bin
夹中命名的文件夹中。Third Party/MbUnit
当我双击它时,Gallio.Icarus.exe
它不会加载或做任何事情。
当我从命令行运行 gallio.echo.exe 时,出现以下错误:
开始时间:下午 1:07 初始化运行时和加载插件。停止时间:下午 1:07(总执行时间:0.313 秒) 错误:发生致命异常。Gallio.Runtime.RuntimeException:无法解析服务类型“Gallio.Runner.Projects.ITestProjectManager”的组件,因为似乎没有为该服务类型注册和启用任何组件。在 Gallio.Runtime.Extensibility.RegistryServiceLocator.ResolveNonDisabledDescriptor(Type serviceType) in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Runtime\Extensibility\RegistryServiceLocator.cs:Gallio.Runtime 的第 202 行。 Extensibility.RegistryServiceLocator.ResolveImpl(Type serviceType) in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Runtime\Extensibility\RegistryServiceLocator.cs:line 161 at Gallio.Runtime.Extensibility。
但是,如果我从 d/l 文件夹中解压缩到的位置运行它:
GallioBundle-3.1.397.0/bin Icarus UI 出现。另外...当我在命令行运行它时,gallio.echo 没有给出任何错误。这对我来说毫无意义,但确实如此。
为什么 Gallio 不能从我的项目文件夹中运行?