vrakeshreddy / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

Possible problem with hint directories #543

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From Sam on gallio-dev.

I've been working with Gallio 3.0.6 successfully for the last few months.
Today I upgraded to 3.1, and my tests have started failing on my 
buildserver (I can still run them in Resharper)

The ones that fail report a System.IO.FileNotFoundException for dependant
assemblies. The build server is structured so that all the assemblies
containing tests, and the assemblies and exes they are testing are in one
folder, but all the libraries are in a separate Libraries folder. I supply
the path of the Libraries folder to the HintDirectories property of the
Gallio MSBuild task.

All I've changed between my 3.0.6 setup and 3.1 setup is the installation
of Gallio and the name of the Assemblies parameter on the task (now changed
to Files).

I'm using the default runner type.

This is an extract from the Fusion log for one of the files

*** Assembly Binder Log Entry  (14/09/2009 @ 17:58:29) ***

The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.

Assembly manager loaded from:  c:\WINDOWS\Microsoft.NET\Framework
\v2.0.50727\mscorwks.dll
Running under executable  C:\Program Files\Gallio\bin\Gallio.Host.exe
--- A detailed error log follows.

=== Pre-bind state information ===
LOG: User = NT AUTHORITY\SYSTEM
LOG: DisplayName = Moq, Version=3.0.308.2, Culture=neutral,
PublicKeyToken=69f491c39445e920
 (Fully-specified)
LOG: Appbase = file:///C:/BuildServer/*****/Source/Code/Staging
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = Host
Calling assembly : *****.Server.Tests, Version=9.1.2.2456, Culture=neutral,
PublicKeyToken=null.
===
LOG: This bind starts in default load context.
LOG: Using application configuration file: C:\BuildServer\*****\Source
\Code\Staging\e9732f70905f4507.tmp.config
LOG: Using machine configuration file from c:\WINDOWS\Microsoft.NET
\Framework\v2.0.50727\config\machine.config.
LOG: Post-policy reference: Moq, Version=3.0.308.2, Culture=neutral,
PublicKeyToken=69f491c39445e920
LOG: The same bind was seen before, and was failed with hr = 0x80070002.
ERR: Unrecoverable error occurred during pre-download check (hr = 0x80070002).

Original issue reported on code.google.com by jeff.br...@gmail.com on 18 Sep 2009 at 7:03

GoogleCodeExporter commented 9 years ago

Original comment by jeff.br...@gmail.com on 7 Oct 2009 at 5:21

GoogleCodeExporter commented 9 years ago
Reproduced.  Should be easy to fix.

Original comment by jeff.br...@gmail.com on 23 Oct 2009 at 4:26

GoogleCodeExporter commented 9 years ago
Fixed in v3.1 update.

Original comment by jeff.br...@gmail.com on 25 Oct 2009 at 2:04