sln2005 error: The module was expected to contain an assembly manifest.

We're trying to run with TeamCity on a new Agile project, and having a heck of a time getting our compile to work on the Build Agent.

I've installed the latest 3.1 BuildAgent and WebServer components and our remaining error looks like:


: Target "NUnit_TeamCity_generated_7e27dc2893b5434cb195bde77b7616b5" in project "LaunchTracking.sln.teamcity.patch.tcprojx" (13s)
: [Target "NUnit_TeamCity_generated_7e27dc2893b5434cb195bde77b7616b5" in project "LaunchTracking.sln.teamcity.patch.tcprojx"] Failure executing test(s). If you assembly is not built using NUnit version 2.4.6.0, then ensure you have redirected assembly bindings. Consult the documentation of the ]]> task for more information.
: [Target "NUnit_TeamCity_generated_7e27dc2893b5434cb195bde77b7616b5" in project "LaunchTracking.sln.teamcity.patch.tcprojx"] Could not load file or assembly 'X:\teamcity-BuildAgent\work\d3a5ca014aead5dd\trunk\LaunchTracking.win.app\product\test\LaunchTracking.Test\bin\Release\Castle.Core.xml' or one of its dependencies. The module was expected to contain an assembly manifest.
StackTrace:

Server stack trace:
at System.Reflection.AssemblyName.nGetFileInformation(String s)
at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
at NUnit.Core.Builders.TestAssemblyBuilder.Load(String path)
at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, Boolean autoSuites)
at NUnit.Core.Builders.TestAssemblyBuilder.Build(String assemblyName, String testName, Boolean autoSuites)
at NUnit.Core.TestSuiteBuilder.Build(TestPackage package)
at NUnit.Core.SimpleTestRunner.Load(TestPackage package)
at NUnit.Core.ProxyTestRunner.Load(TestPackage package)
at NUnit.Core.RemoteTestRunner.Load(TestPackage package)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at :
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at NUnit.Core.TestRunner.Load(TestPackage package)
at JetBrains.TeamCity.NUnitLauncher.NUnitRunner.LoadTest(String testAssembly, String testName, TestRunner runner) in c:\Agent\work\bbc4cb48456abcf4\src\NUnitLauncher\src\NUnit_2_4\NUnitRunner.cs:line 48
at JetBrains.TeamCity.NUnitLauncher.NUnitRunnerBase.Run() in c:\Agent\work\bbc4cb48456abcf4\src\NUnitLauncher\src\NUnitRunnerBase.cs:line 58
: [Target "NUnit_TeamCity_generated_7e27dc2893b5434cb195bde77b7616b5" in project "LaunchTracking.sln.teamcity.patch.tcprojx"] X:\teamcity-BuildAgent\work\d3a5ca014aead5dd\trunk\LaunchTracking.win.app\LaunchTracking.sln.teamcity.patch.tcprojx(10, 5): error MSB6006: "X:\teamcity-BuildAgent\plugins\dotnetPlugin\bin\JetBrains.BuildServer.NUnitLauncher.exe" exited with code 1.





>> Any ideas? It feels like I'm missing something fundamental, because Google and this Forum's search has given me nothing so far.

Thanks!

4 comments

We switched over to full-blown NANT to make sure all the dependent libraries were brought over upon building...

0

Hi,

Did you ever get an answer for this (other than switching to NAnt)?

0

Nant was the way we got this working...

0

Thanks. i'll forge ahead. I appreciate the response.

0

Please sign in to leave a comment.