Upgrade NUnit from 2.2.8 to 2.4.6

Johan Fält <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <AC9D2A318CC2B244A748EB5AABAAD5C13762F87DE0@hbgnexa.Nilex.hbg.local>
I have been running NUnit 2.2.8 for way to long and have decided to upgrade, unfortunately I have run into some snags. Any ideas what to do?

My development is done on Borland Developer Studio 2006 (service pack 2) .NET 1.1.
I have uninstalled NUnit 2.2.8 and installed NUnit 2.4.6 in its place.
I have rerouted the settings so they now point at the correct exe.

\NUnit 2.4.6\bin\nunit.exe

When I run the tests, haven't done anything to change them just recompiled everything, I get the following:

System.IO.FileLoadException...

Server stack trace:
   at System.Reflection.CustomAttribute.GetCustomAttributeList(Int32 token, IntPtr module, RuntimeType caType, CustomAttribute caItem, Int32 level)
   at System.Reflection.CustomAttribute.GetCustomAttributeListCheckType(Int32 token, IntPtr module, Type caType, CustomAttribute caItem, Int32 level)
   at System.Reflection.CustomAttribute.GetCustomAttributeList(MemberInfo member, Type caType, CustomAttribute caItem, Int32 level)
   at System.Reflection.CustomAttribute.GetCustomAttributes(MemberInfo member, Type caType, Boolean inherit)
   at System.Reflection.CustomAttribute.GetCustomAttributes(Type type, Type caType, Boolean inherit)
   at System.RuntimeType.GetCustomAttributes(Boolean inherit)
   at NUnit.Core.Reflect.HasAttribute(MemberInfo member, String attrName, Boolean inherit)
   at NUnit.Core.Builders.SetUpFixtureBuilder.CanBuildFrom(Type type)
   at NUnit.Core.Extensibility.SuiteBuilderCollection.CanBuildFrom(Type type)
   at NUnit.Core.TestFixtureBuilder.CanBuildFrom(Type type)
   at NUnit.Core.Builders.TestAssemblyBuilder.GetFixtures(Assembly assembly, String ns)
   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.ProxyTestRunner.Load(TestPackage package)
   at NUnit.Core.RemoteTestRunner.Load(TestPackage package)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(MethodBase mb, 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 [0]:
   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 NUnit.Util.TestDomain.Load(TestPackage package)
   at NUnit.Util.TestLoader.LoadTest(String testName)



Johan Felt
Nilex

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
Nunit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nunit-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.