I just downloaded the latest version of DOA 4.0. I created a new project based upon DataObjects.NET 4 Project template. I get the following error messages while attempting to build my Library.

What i'm doing wrong?

Error   1   Unhandled exception: System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at Xtensive.Core.Weaver.ImplementProtectedConstructorAccessorWeaver.Implement()
   at PostSharp.Laos.Weaver.LaosTask.Execute()
   at PostSharp.Extensibility.Project.ExecutePhase(String phase)
   at PostSharp.Extensibility.Project.Execute()
   at PostSharp.Extensibility.PostSharpObject.ExecuteProjects()
   at PostSharp.Extensibility.PostSharpObject.InvokeProjects(ProjectInvocation[] projectInvocations)
   at PostSharp.MSBuild.PostSharpRemoteTask.Execute(PostSharpTaskParameters parameters, TaskLoggingHelper log)  drs.model

Tnx in advance Martijn

This thread was imported from our support forum. The original discussion may contain more detailed answer.

asked Jun 18 '09 at 09:13

Martijnvl's gravatar image


One Answer:

Dmitri Maximov (Xtensive) wrote:

Hello Martijn,

It seems that DO 4.0.1 installer didn't update the following assemblies with the newer ones: C:\Program Files\PostSharp 1.0\Xtensive.Core.dll C:\Program Files\PostSharp 1.0\Xtensive.Core.Aspects.dll C:\Program Files\PostSharp 1.0\PlugIns\Xtensive.Core.Weaver.dll

Please, update them manually from DataObjects.Net 4.0 installation path.

We'll try to fix this issue in the next version of the installer.


Alex (Xtensive) wrote:

Installer is... Still the most painful place. We thought all the bugs it contains are fixed by v4.0.1, and... There are new ones, like this.

Here is the list of issues related to installer we're going to fix or already fixed in v4.0.2.

answered Jun 18 '09 at 14:29

Editor's gravatar image


Hi Alex,

Thank you for your reply. The manual update of the assemblies did the trick.


(Jun 18 '09 at 14:29) Martijnvl Martijnvl's gravatar image
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA