Menu

#46 FileNotFound Exception NUnit ASP 1.5.1

open
nobody
None
5
2014-08-21
2006-03-08
No

I have installed NUnit ASP 1.5.1 with NUnit supplied
in the downloadable zip file

I have created a test class, compiled it, added the
references to the NUnit DLLS, etc. When i try to test
this in NUnit GUI i receive the following error
message.

System.IO.FileNotFoundException. Could not load file
or assembly 'nunit.framework, Version=2.2.0.0,
Culture=Neutral,
PublicKeyToken=96d09a1eb7f44a77' or one of its
dependencies. The system cannot find the file
specified

I have installed NUnit ASP 1.5.1 and Nunit 2.2.7 that
came with the zip file

When i try to load a test project into NUnit- Gui i
receive the error message

System.IO.FileNotFoundException. Could not load file
or assembly 'nunit.framework, Version=2.2.0.0,
Culture=Neutral,
PublicKeyToken=96d09a1eb7f44a77' or one of its
dependencies. The system cannot find the file
specified

System.IO.FileNotFoundException...

Server stack trace:
at System.Reflection.Assembly.GetExportedTypes()
at NUnit.Core.AddinManager.Register(Assembly
assembly)
at NUnit.Core.Addins.Register(Assembly assembly)
at NUnit.Core.Builders.TestAssemblyBuilder.Load
(String assemblyName)
at NUnit.Core.Builders.TestAssemblyBuilder.Build()
at NUnit.Core.Builders.TestAssemblyBuilder.Build
(String testName)
at NUnit.Core.TestSuiteBuilder.Build(String
assemblyName, String testName)
at NUnit.Core.SimpleTestRunner.Load(String
assemblyName, String testName)
at NUnit.Core.SimpleTestRunner.Load(String
assemblyName)
at NUnit.Core.ProxyTestRunner.Load(String
assemblyName)
at NUnit.Core.ProxyTestRunner.Load(String
assemblyName)
at
System.Runtime.Remoting.Messaging.StackBuilderSink._Pr
ivateProcessMessage(IntPtr md, Object[] args, Object
server, Int32 methodPtr, Boolean fExecuteInContext,
Object[]& outArgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.Pri
vateProcessMessage(RuntimeMethodHandle md, Object[]
args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)
at
System.Runtime.Remoting.Messaging.StackBuilderSink.Syn
cProcessMessage(IMessage msg, Int32 methodPtr,
Boolean fExecuteInContext)

Exception rethrown at [0]:
at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturn
Message(IMessage reqMsg, IMessage retMsg)
at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvok
e(MessageData& msgData, Int32 type)
at NUnit.Core.TestRunner.Load(String assemblyName)
at NUnit.Util.TestDomain.Load(String
assemblyFileName, String testFixture)
at NUnit.Util.TestLoader.LoadTest(String testName)

Discussion

  • Nobody/Anonymous

    Logged In: NO

    NUnitAsp 1.5.1 requires NUnit 2.2.0 specifically...

     
  • Nobody/Anonymous

    Logged In: NO

    ...but if a later version already installed then will not allow this one to install. What can be done please?

     

Log in to post a comment.