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
