gpt4 book ai didi

continuous-integration - 为什么 Gallio 似乎需要在名为 GallioBundle-3.1.397.0/bin 的文件夹中才能运行

转载 作者:行者123 更新时间:2023-12-01 10:13:44 24 4
gpt4 key购买 nike

我想在不安装 Gallio 的情况下使用 Icarus 和/或 Echo 运行 MbUnit 测试。我已将 GallioBundle/bin 中的所有文件复制到项目文件夹中名为 Third Party/MbUnit 的文件夹中。

当我双击 Gallio.Icarus.exe 时,它不会加载或执行任何操作。

当我从命令行运行 gallio.echo.exe 时,出现以下错误:

Start time: 1:07 PM Initializing the runtime and loading plugins. Stop time: 1:07 PM (Total execution time: 0.313 seconds) Error: A fatal exception occurred. Gallio.Runtime.RuntimeException: Could not resolve component for service type 'Gallio.Runner.Projects.ITestProjectManager' because there do not appear to be any components registered and enabled for that service type. at Gallio.Runtime.Extensibility.RegistryServiceLocator.ResolveNonDisabledDescriptor(Type serviceType) in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Runtime\Extensibility\RegistryServiceLocator.cs:line 202 at Gallio.Runtime.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.RegistryServiceLocator.ResolveTService in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Runtime\Extensibility\RegistryServiceLocator.cs:line 52 at Gallio.Runner.TestLauncher.RunWithRuntime() in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Runner\TestLauncher.cs:line 511 at Gallio.Runner.TestLauncher.Run() in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Runner\TestLauncher.cs:line 474 at Gallio.Echo.EchoProgram.RunTests(ILogger logger) at Gallio.Echo.EchoProgram.RunImpl(String[] args) at Gallio.Runtime.ConsoleSupport.ConsoleProgram`1.Run(IRichConsole console, String[] args) in c:\RelEng\Projects\MbUnit v3.1\Work\src\Gallio\Gallio\Runtime\ConsoleSupport\ConsoleProgram.cs:line 198

但是,如果我从我在 d/l 文件夹中解压缩到的位置运行它:

GallioBundle-3.1.397.0/bin Icarus UI comes up. Also... gallio.echo gives no errors when I run it at the command line. This makes no sense to me but there it is.

为什么 Gallio 不能从我的项目文件夹中运行?

最佳答案

它应该可以正常工作。 Gallio 真的不关心文件夹叫什么。上面的错误通常在某些文件丢失时出现。

尝试的另一件事可能是运行“Gallio.Utility.exe ResetInstallationId”

关于continuous-integration - 为什么 Gallio 似乎需要在名为 GallioBundle-3.1.397.0/bin 的文件夹中才能运行,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3103901/

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