Note that there are some explanatory texts on larger screens.

plurals
  1. POGallio NAnt Task error: ITestProjectManager service could not be resolved
    primarykey
    data
    text
    <p>I have the following NAnt targets, inside a larger build file:</p> <pre><code>&lt;target name="load-gallio"&gt; &lt;loadtasks assembly="lib/Gallio.NAntTasks.dll" /&gt; &lt;/target&gt; &lt;target name="test" depends="load-gallio"&gt; &lt;gallio failonerror="true"&gt; &lt;files&gt; &lt;include name="target/tests.dll" /&gt; &lt;/files&gt; &lt;/gallio&gt; &lt;/target&gt; </code></pre> <p>The tests.dll runs fine with the Gallio command line runner, and with Icarus. When I run "nant test", I get the following:</p> <pre><code>load-gallio: test: [gallio] Gallio NAnt Task - Version 3.4 build 12 [gallio] Start time: 11:12 [gallio] Stop time: 11:12 (Total execution time: 0.881 seconds) BUILD FAILED INTERNAL ERROR Gallio.Runtime.RuntimeException: Could not resolve component for service type 'Gallio.Runner.Projects.ITestProjectM anager' because there do not appear to be any components registered and enabled for that service type. at Gallio.Runtime.Extensibility.RegistryServiceLocator.ResolveNonDisabledDescriptor(Type serviceType) at Gallio.Runtime.Extensibility.RegistryServiceLocator.Resolve[TService]() at Gallio.Runner.TestLauncher.RunWithRuntime() at Gallio.Runner.TestLauncher.Run() at Gallio.NAntTasks.GallioTask.RunLauncher(TestLauncher launcher) at Gallio.NAntTasks.GallioTask.InternalExecute() at Gallio.NAntTasks.GallioTask.ExecuteTask() at NAnt.Core.Task.Execute() at NAnt.Core.Target.Execute() at NAnt.Core.Project.Execute(String targetName, Boolean forceDependencies) at NAnt.Core.Project.Execute() at NAnt.Core.Project.Run() </code></pre> <p>Why does this happen? Am I missing some kind of runtime setup / service registration step? Is this a bug? Thanks in advance for your time and help.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload