Re: Assembly Not Loaded

"Dave Isenhower" <[email protected]>
Newsgroups gmane.comp.windows.dotnet.nunit.user
Message-ID <[email protected]>
That was it!  I had at first added the nunit.core assembly to my project,
but then removed it.  However, it appears the dll wasn't removed from the
filesystem in my project output folder.

Thanks for your help!

Dave

On Feb 13, 2008 12:34 PM, Charlie Poole <[email protected]> wrote:

>  It sounds as if you somehow have two different copies of the NUnit core,
> one of them loaded by your tests. I suggest finding and removing any copies
> of nunit assemblies from your obj and rebuilding. You should not normally
> have any references to nunit.core in your tests.
>
> Charlie
>
>  ------------------------------
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Dave Isenhower
> *Sent:* Tuesday, February 12, 2008 5:02 PM
> *To:* [email protected]
> *Subject:* [Nunit-users] Assembly Not Loaded
>
> I am a new NUnit user and am having some trouble.  I try to load my test
> assembly using the NUnit GUI for .NET 1.1, but when I do, I get the
> following error:
>
> System.Runtime.Remoting.RemotingException : The argument type
> NUnit.Core.TestPackage cannot be converted into parameter type
> NUnit.Core.TestPackage.
>
> Exception details:
>
> System.Runtime.Remoting.RemotingException...
>
> Server stack trace:
>    at System.Runtime.Remoting.Messaging.Message.CoerceArg(Object value,
> Type pt)
>    at System.Runtime.Remoting.Messaging.Message.CoerceArgs(MethodBase mb,
> Object[] args, ParameterInfo[] pi)
>    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)
>
> Any help would be appreciated.
>
> Thanks,
> Dave
>
>

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