*sigh*
 
Trust me, the hint directories mechanism works.  Lots of stuff would be
broken otherwise including the tests we have for it.
 
What I'm seeing is a SerializationException that is happening due to an
attempt to serialize a non-Gallio type across a remoting channel to a
Gallio-only AppDomain.  Test code is *not* supposed to be able to be loaded
in that context anyways.
 
So it's not hint directories or anything like that.  It's a question of some
stray code trying to serialize an object over the type to a place where that
object should not be.  My guess is that the object in question is most
likely a custom Exception type defined in the Shunra.Infra assembly.
 
These issues are very subtle and pernicious.
 
It's really hard for me to understand what's going on without knowing more
about what your code is doing.
 
Just for kicks, have you tried a recent v3.1 nightly?
http://ccnet.gallio.org/Distributables/
 
Jeff.

  _____  

From: [email protected] [mailto:[email protected]] On
Behalf Of Mark Kharitonov
Sent: Saturday, August 15, 2009 7:36 AM
To: [email protected]
Subject: MbUnit Re: Gallio.Host.exe seem to ignore the HintDirectories
parameter passed to Gallio task.


Jeff, the error suggests that it cannot find the assembly. 
Fusion suggests that Gallio.Host.exe is looking for the assembly under the
Gallio bin directory only. According to the fusion there are no attempts
to load it from any of the HintDirectories - see the attached fusion log.
Is it the way it supposed to be?

On 15/08/2009, at 15:06, Jeff Brown wrote:



Look for any use of the CallContext type.

The following exception suggests that something is attempting to send an
object of some type defined in Shunra.Infra out via the remoting channel
Gallio uses to communicate with the tests.

System.Runtime.Serialization.SerializationException: Unable to find assembly
'Shunra.Infra, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=807fc02bc4ce69db'

Jeff. 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Mark Kharitonov
Sent: Saturday, August 15, 2009 4:26 AM
To: MbUnit.User
Subject: MbUnit Re: Gallio.Host.exe seem to ignore the HintDirectories
parameter passed to Gallio task.


I do not know what it is.
If you tell me what to look for I will check it.

On Aug 15, 2:13 pm, "Jeff Brown" <[email protected]> wrote:

The SerializationException looks interesting...

Do you use the logical call context in any way?

Jeff.



-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On

Behalf Of Mark Kharitonov
Sent: Saturday, August 15, 2009 3:35 AM
To: MbUnit.User
Subject: MbUnit Gallio.Host.exe seem to ignore the HintDirectories 
parameter passed to Gallio task.

I am trying to run the tests using the Gallio msbuild task.
It fails, although Run Tests on the project in the solution explorer 
succeeds (albeit with the strange TD.NET behavior I have reported here 
-http://groups.google.com/group/MbUnitUser/browse_thread/thread/8f5f63...
2e1).

Anyway, it seems that Gallio.Host.exe fails to load the dependent 
assemblies. I am attaching a zip 
archivehttp://groups.google.com/group/MbUnitUser/web/Gallio.Host.Info.
zip
containing the following pieces:
* The fusion log directory - logs
* The msbuild project file used to run the tests - master.proj
* The diagnostics msbuild output for running master.proj - msbuild.log
* The dir shell command output of the directory where the assemblies 
are - OutDir.listing.

Any ideas?
Thanks.- Hide quoted text -

- Show quoted text -





==========================================================================
There are two kinds of people. Those whose guns are loaded and those who
dig.
(The good, the bad and the ugly).
So let us raise our cups for our guns always be loaded.






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