Hi,
 
There is a known issue with the MSBuild task that needs looking into, the JIRA task you mention is.
 
http://www.mertner.com/jira/browse/MBUNIT-22
 
Its hard to say if this is the same issue but your insight into this may prove handy, I will add it to the task. From your console email I assume your going to run MbUnit with the exec task. This has now been restored to the build so if your using a previous version of MbUnit then I recommend you upgrade. Hopefully the MbUnit task can be sorted soon.
 
Thanks
 
Andy

 
On 12/11/05, Liwoj <[EMAIL PROTECTED]> wrote:

Hello
I'm tring to integrate mbunit test to our CI build process so I was
tring to use msbuild task in mbunit distro.
I'v found issue in JIRA describing problem with the task but can't
confirm that because of another problem....
Task distributed in nightly build distro of mbunit doesn't even work on
.NET 2.0 RTM
MsBuild can not load task assembly. The reason is IMHO that task is
build against wrong version of Microsoft.Build.Utilities.dll assembly.
This assembly IS part of .NET FW distribution and is located in FW
system directory. For some reason, another copy of that assembly is
located in MbUnit install folder. This is the version against the task
is linked, but of cource, this assembly cann't by loaded too because of
their dependencies are missing on system with just RTM version of .NET
2.0.....

Exact error message which I get is:
error MSB4062: The " MbUnit.MSBuild.Tasks.MbUnit" task could not be
loaded from the assembly
c:\Pool\TVM\build\bin\MbUnit.MSBuild.Tasks.dll. Could not load file or
assembly 'Microsoft.Build.Utilities, Version=2.0.3600.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its
dependencies. Strong name validation failed. (Exception from HRESULT:
0x8013141A) Confirm that the <UsingTask> declaration is correct, and
that the assembly and all its dependencies are available.

I'm using MbUnit nightly build ( MbUnit-2.3.8.exe) on Win XP Pro EN SP2


Reply via email to