Thanks....

It now working...

I had not copied any of the .plugin files.  I had only copied the
dlls.

Rob

On May 24, 7:15 pm, Jeff Brown <[email protected]> wrote:
> The likely problem is that you have not copied all of the required  
> Gallio plugins files to the build server in the selenium references  
> folder.
>
> Jeff
>
> On May 24, 2009, at 10:45 AM, Rob Langley <[email protected]>  
> wrote:
>
>
>
> > Hi
>
> > I love the idea of automated testing but an new to it all.  Over the
> > last few weeks I have had a play with Selenium and Teamcity in
> > isolation.  Teamcity now builds and deploys my code to a test server
> > and I have written a few simple tests in selenium that work when I
> > compile my code in Visual Studio.  I'm now trying to but it together
> > with MbUnit and am getting an error now.
>
> > "C:\build\msbuildCfg.xml.teamcity.patch.tcprojx" (RunTests target) (1)
> > ->
> > (RunTests target) ->
> >  C:\build\msbuildCfg.xml(12,5): error : An unexpected error occurred
> > during execution of the Gallio task.
> >  C:\build\msbuildCfg.xml(12,5): error : RuntimeException: Could not
> > resolve service of type Gallio.Runner.Reports.IReportManager.
>
> > Below is my msbuildCfg.xml file which teamcity calls, which I have
> > copied from various postings on the net
>
> > <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
> >  <!-- This is needed by MSBuild to locate the Gallio task -->
> >  <UsingTask AssemblyFile="selenium\referances
> > \Gallio.MSBuildTasks.dll" TaskName="Gallio" />
>
> >  <!-- Specify the tests assemblies -->
> >  <ItemGroup>
> >    <TestAssemblies Include="selenium\bin\Debug\selenium.dll" />
> >  </ItemGroup>
>
> >  <Target Name="RunTests">
> >    <Gallio IgnoreFailures="false" Assemblies="@(TestAssemblies)"
> > RunnerExtensions="TeamCityExtension,Gallio.TeamCityIntegration">
> >      <!-- This tells MSBuild to store the output value of the task's
> > ExitCode property into the project's ExitCode property -->
> >      <Output TaskParameter="ExitCode" PropertyName="ExitCode"/>
> >    </Gallio>
>
> >    <Error Text="Tests execution failed" Condition="'$(ExitCode)' !=  
> > 0" /
>
> >  </Target>
>
> >    <Target Name="Build">
> >    <Message Text="Starting to Build"/>
> >    <MSBuild Projects="Selenium.sln" Targets="Rebuild"
> > Properties="Configuration=Debug" />
> >  </Target>
> > </Project>
>
> > Any help would be appriciated
>
> > Thanks
>
> > Rob
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to