Hi Jeff, 

I don't think I use a custom assembly resolver.

I load the following tasks:
<loadtasks
assembly="${ToolsPath}\NCoverExplorer.Extras\bin\NCoverExplorer.NAntTasks.dl
l" />
<loadtasks assembly="${ToolsPath}\Gallio\bin\Gallio.NAntTasks.dll" />
<loadtasks assembly="${ToolsPath}\NAntContrib\bin\NAnt.Contrib.Tasks.dll" />

The problem started to occur after I installed the latest version 3.0.5
(stable) > 3.0.6.722. Before the upgrade I had the bin folder of Gallio
checked in to my svn trunk and used it from there. With the new Gallio I
deleted the bin from the trunk and updated my NAnt file to use Gallio from
the Program Files folder. Not sure if this could be related.

During my testing I moved it back to the trunk but I don’t think that this
is the problem.

Does Gallio needs to be installed to run tests with TeamCity? (if the Gallio
bin is in my svn trunk and I load the tasks from there)


Thanks for your time!

Greets,
Bruno



-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Jeff Brown
Sent: dinsdag 17 maart 2009 3:15
To: [email protected]
Subject: MbUnit Re: Exception when running tests with teamcity


Weird.  I haven't been able to reproduce the problem, unfortunately.  It's
particularly strange that Icarus works but not NAnt.  Moreover it seems tied
to this particular plugin... but there isn't anything special about it.

Hrm.  I added an extra tweak to trunk that might help the NCover issue
though.

Out of curiosity, are you using any other custom NAnt extensions?  Do any of
them install a custom assembly resolver?

Jeff. 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Bruno Wouters
Sent: Monday, March 16, 2009 3:58 PM
To: MbUnit.User
Subject: MbUnit Re: Exception when running tests with teamcity


Hi Jeff,

I renamed Gallio.MbUnit2Adapter.plugin to Gallio.MbUnit2Adapter.plugin.back
and as mentioned previously moved the NCover files to the bin folder. Now it
works again.

Greets,
Bruno

On 16 mrt, 20:43, "Bruno Wouters" <[email protected]> wrote:
> Hi Jeff,
>
> Thanks for the fast reply!
>
> The dll was still there, I removed and installed again. Still the same 
> problem. I've included the NAnt script and the installed file 
> structure of Gallio on my system below.
>
> Testing with Gallio.Icarus.exe works fine. (=Solution checked out to 
> another directory and build in visual studio. Then selected the test 
> assembly in Icarus and the tests run fine.)
>
> Greets,
>
> Bruno
>
>                 <loadtasks
> assembly="${ProgramFiles}\Gallio\bin\Gallio.NAntTasks.dll" />
>
>                 <target name="test" depends="build">
>
>                   <echo message="Started testing ${AssemblyToTest}"/>
>
>                   <echo message="Using 
> ${ProgramFiles}\Gallio\bin\Gallio.NAntTasks.dll"/>
>
>                   <gallio result-property="exitCode" runner-type="NCover"
> failonerror="false" report-name-format="Tests" report-types="html"
> report-directory="${ReportsPath}">
>
>                    <runner-property value="NCoverArguments='//l 
> ${WorkingDirectory}\Coverage.log //ea CoverageExcludeAttribute //a 
> ${TestAssemblyName}' " />
>
>                    <runner-property
> value="NCoverCoverageFile='${WorkingDirectory}\Coverage.xml' " />
>
>                     <runner-extension
> value="TeamCityExtension,Gallio.TeamCityIntegration" />
>
>                     <assemblies>
>
>                         <include name="${AssemblyToTest}" />
>
>                     </assemblies>
>
>                   </gallio>
>
>                   <fail if="${exitCode != '0'}" >One or more tests failed.
> Please check the log for more details</fail>
>
>                 </target>
>
> Gallio
>
> |   ASL - Apache Software Foundation License.txt
>
> |   Cecil.FlowAnalysis.license.html
>
> |   Credits.html
>
> |   db4o.license.html
>
> |   Gallio License.txt
>
> |   Gallio Website.url
>
> |   MbUnit Website.url
>
> |   Mono.Cecil.license.html
>
> |   Mono.GetOptions.license.html
>
> |  
>
> +---bin
>
> |   |   Aga.Controls.dll
>
> |   |   Gallio-Report.xsd
>
> |   |   Gallio.Ambience.dll
>
> |   |   Gallio.Ambience.pdb
>
> |   |   Gallio.Ambience.plugin
>
> |   |   Gallio.Ambience.Server.exe
>
> |   |   Gallio.Ambience.Server.exe.config
>
> |   |   Gallio.dll
>
> |   |   Gallio.Echo.exe
>
> |   |   Gallio.Echo.exe.config
>
> |   |   Gallio.Host.exe
>
> |   |   Gallio.Host.exe.config
>
> |   |   Gallio.Host.x86.exe
>
> |   |   Gallio.Host.x86.exe.config
>
> |   |   Gallio.Icarus.exe
>
> |   |   Gallio.Icarus.exe.config
>
> |   |   Gallio.MsBuildTasks.dll
>
> |   |   Gallio.MsBuildTasks.xml
>
> |   |   Gallio.NAntTasks.dll
>
> |   |   Gallio.NAntTasks.xml
>
> |   |   Gallio.Navigator.exe
>
> |   |   Gallio.Navigator.exe.config
>
> |   |   Gallio.Navigator.Readme.txt
>
> |   |   Gallio.pdb
>
> |   |   Gallio.plugin
>
> |   |   Gallio.Reports.dll
>
> |   |   Gallio.Reports.pdb
>
> |   |   Gallio.Reports.plugin
>
> |   |   Gallio.Reports.xml
>
> |   |   Gallio.UI.dll
>
> |   |   Gallio.UI.pdb
>
> |   |   Gallio.UI.plugin
>
> |   |   Gallio.UI.xml
>
> |   |   Gallio.VisualStudio.Interop.dll
>
> |   |   Gallio.xml
>
> |   |   Gallio.XmlSerializers.dll
>
> |   |   Gallio35.dll
>
> |   |   Gallio35.pdb
>
> |   |   Gallio35.plugin
>
> |   |   Gallio35.xml
>
> |   |   ICSharpCode.TextEditor.dll
>
> |   |   MbUnit.Compatibility.dll
>
> |   |   MbUnit.Compatibility.pdb
>
> |   |   MbUnit.Compatibility.plugin
>
> |   |   MbUnit.Compatibility.xml
>
> |   |   MbUnit.dll
>
> |   |   MbUnit.pdb
>
> |   |   MbUnit.Pex.dll
>
> |   |   MbUnit.plugin
>
> |   |   MbUnit.xml
>
> |   |   MbUnit35.dll
>
> |   |   MbUnit35.pdb
>
> |   |   MbUnit35.plugin
>
> |   |   MbUnit35.xml
>
> |   |   WeifenLuo.WinFormsUI.Docking.dll
>
> |   |
>
> |   +---AutoCAD
>
> |   |       Gallio.AutoCAD.dll
>
> |   |       Gallio.AutoCAD.plugin
>
> |   |       Gallio.AutoCAD.Plugin.dll
>
> |   |       objectarx_license.doc
>
> |   |
>
> |   +---CSUnit
>
> |   |       csUnit.Common.dll
>
> |   |       csUnit.dll
>
> |   |       csUnit.Interfaces.dll
>
> |   |       csUnitCore.dll
>
> |   |       Gallio.CSUnitAdapter.dll
>
> |   |       Gallio.CSUnitAdapter.plugin
>
> |   |       license.txt
>
> |   |       Readme.txt
>
> |   |
>
> |   +---MbUnit2
>
> |   |       Gallio.MbUnit2Adapter.dll
>
> |   |       Gallio.MbUnit2Adapter.plugin
>
> |   |       MbUnit.Framework.2.0.dll
>
> |   |       MbUnit.Framework.2.0.xml
>
> |   |       MbUnit.Framework.dll
>
> |   |       MbUnit.Framework.xml
>
> |   |       QuickGraph.Algorithms.dll
>
> |   |       QuickGraph.Algorithms.xml
>
> |   |       QuickGraph.dll
>
> |   |       QuickGraph.xml
>
> |   |       Readme.txt
>
> |   |       Refly.dll
>
> |   |       Refly.xml
>
> |   |       TestFu.dll
>
> |   |       TestFu.xml
>
> |   |
>
> |   +---MSTest
>
> |   |       Gallio.MSTestAdapter.dll
>
> |   |       Gallio.MSTestAdapter.plugin
>
> |   |       Readme.txt
>
> |   |
>
> |   +---NCover
>
> |   |   |   Gallio.NCoverIntegration.dll
>
> |   |   |   Gallio.NCoverIntegration.plugin
>
> |   |   |
>
> |   |   \---v1.5.8
>
> |   |           Coverage.xsl
>
> |   |           CoverLib.dll
>
> |   |           Microsoft.VC80.CRT.manifest
>
> |   |           msvcp80.dll
>
> |   |           msvcr80.dll
>
> |   |           NCover.Console.exe
>
> |   |           NCover.Console.exe.config
>
> |   |           NCover.Framework.dll
>
> |   |           NCoverFAQ.html
>
> |   |
>
> |   +---NUnit
>
> |   |   |   Gallio.NUnitAdapter.dll
>
> |   |   |   Gallio.NUnitAdapter.plugin
>
> |   |   |   license.txt
>
> |   |   |   nunit.core.dll
>
> |   |   |   nunit.core.extensions.dll
>
> |   |   |   nunit.core.interfaces.dll
>
> |   |   |   nunit.framework.dll
>
> |   |   |   nunit.framework.extensions.dll
>
> |   |   |   nunit.util.dll
>
> |   |   |   Readme.txt
>
> |   |   |
>
> |   |   \---addins
>
> |   |           NUnit Addins Readme.txt
>
> |   |
>
> |   +---Resources
>
> |   |   +---css
>
> |   |   |       Gallio-Report.css
>
> |   |   |
>
> |   |   +---img
>
> |   |   |       Container.png
>
> |   |   |       Failed.gif
>
> |   |   |       Fixture.png
>
> |   |   |       FullStop.gif
>
> |   |   |       GallioTestReportHeader.png
>
> |   |   |       header-background.gif
>
> |   |   |       Ignored.gif
>
> |   |   |       Logo.png
>
> |   |   |       Minus.gif
>
> |   |   |       Passed.gif
>
> |   |   |       Plus.gif
>
> |   |   |       Test.png
>
> |   |   |
>
> |   |   +---js
>
> |   |   |       Gallio-Report.js
>
> |   |   |
>
> |   |   \---xsl
>
> |   |           Gallio-Report.ccnet-details-condensed.xsl
>
> |   |           Gallio-Report.ccnet-details.xsl
>
> |   |           Gallio-Report.common.xsl
>
> |   |           Gallio-Report.html+xhtml.xsl
>
> |   |           Gallio-Report.html-condensed.xsl
>
> |   |           Gallio-Report.html.xsl
>
> |   |           Gallio-Report.txt.xsl
>
> |   |           Gallio-Report.xhtml-condensed.xsl
>
> |   |           Gallio-Report.xhtml.xsl
>
> |   |
>
> |   +---TDNet
>
> |   |       Gallio.TDNetRunner.dll
>
> |   |       Gallio.TDNetRunner.plugin
>
> |   |
>
> |   +---TeamCity
>
> |   |       Gallio.TeamCityIntegration.dll
>
> |   |       Gallio.TeamCityIntegration.plugin
>
> |   |       Readme.txt
>
> |   |
>
> |   +---TypeMock
>
> |   |       Gallio.TypeMockIntegration.dll
>
> |   |       Gallio.TypeMockIntegration.plugin
>
> |   |       TypeMock.Integration.dll
>
> |   |
>
> |   \---Xunit
>
> |           EULA.txt
>
> |           Gallio.XunitAdapter.dll
>
> |           Gallio.XunitAdapter.plugin
>
> |           Readme.txt
>
> |           xunit.dll
>
> |           xunit.xml
>
> |           xunitext.dll
>
> |          
>
> +---docs
>
> |   |   Gallio.chm
>
> |   |
>
> |   \---vs
>
> |           Gallio.HxS
>
> |           GallioCollection.h2reg.ini
>
> |           GallioCollection.HxC
>
> |           GallioCollection.HxT
>
> |           GallioCollection_A.HxK
>
> |           GallioCollection_F.HxK
>
> |           GallioCollection_K.HxK
>
> |          
>
> +---extra
>
> |   +---CCNet
>
> |   |   |   How to use Gallio with CruiseControl.Net.txt
>
> |   |   |
>
> |   |   \---webdashboard
>
> |   |       +---bin
>
> |   |       |       CCNet.Gallio.WebDashboard.Plugin.dll
>
> |   |       |
>
> |   |       \---gallio
>
> |   |           +---css
>
> |   |           |       Gallio-Report.css
>
> |   |           |
>
> |   |           +---img
>
> |   |           |       Container.png
>
> |   |           |       Failed.gif
>
> |   |           |       Fixture.png
>
> |   |           |       FullStop.gif
>
> |   |           |       GallioTestReportHeader.png
>
> |   |           |       header-background.gif
>
> |   |           |       Ignored.gif
>
> |   |           |       Logo.png
>
> |   |           |       Minus.gif
>
> |   |           |       Passed.gif
>
> |   |           |       Plus.gif
>
> |   |           |       Test.png
>
> |   |           |
>
> |   |           +---js
>
> |   |           |       Gallio-Report.js
>
> |   |           |
>
> |   |           \---xsl
>
> |   |                   Gallio-Report.ccnet-details-condensed.xsl
>
> |   |                   Gallio-Report.ccnet-details.xsl
>
> |   |                   Gallio-Report.common.xsl
>
> |   |                   Gallio-Report.html+xhtml.xsl
>
> |   |
>
> |   \---H2Reg
>
> |           H2Reg.exe
>
> |           H2Reg.ini
>
> |           H2Reg_Log.txt
>
> |          
>
> \---samples
>
>     \---MbUnit
>
>         |   LocalTestRun.testrunconfig
>
>         |   MbUnit.Samples.sln
>
>         |   MbUnit.Samples.vs2008.sln
>
>         |   MbUnit.Samples.vs2008.vsmdi
>
>         |
>
>         +---libs
>
>         |   \---WatiN
>
>         |       |   License.txt
>
>         |       |   Readme.txt
>
>         |       |   ReleaseHistory.txt
>
>         |       |   WatiN.chm
>
>         |       |
>
>         |       \---bin
>
>         |               Interop.SHDocVw.dll
>
>         |               Microsoft.mshtml.dll
>
>         |               WatiN.Core.dll
>
>         |               WatiN.Core.xml
>
>         |
>
>         +---MbUnit.Samples
>
>         |   |
> ...
>
> meer lezen »




--~--~---------~--~----~------------~-------~--~----~
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