I upgraded from version 4.4.0 to 4.4.1, I am facing a problem when running the app"

Assembly 'bcps.model, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not processed by PostSharp. See section 2 of Manual for details

I need an urgent resolution to this problem.

PostSharp is not installed and not enabled.

asked Jan 06 '12 at 08:05

Akhtar's gravatar image

Akhtar
35559


2 Answers:

Hello Akhtar,

Could you check whether your project references the updated Xtensive.* assemblies? I mean it should reference assemblies with version 4.4.1.0 instead of 4.4.0.0 as it was before the upgrade.

Having that done try rebuilding the solution.

UPDATE:

The investigation revealed that csproj-files contained line

<SkipPostSharp>true</SkipPostSharp>

After the line is removed, all works fine.

answered Jan 06 '12 at 08:18

Dmitri%20Maximov's gravatar image

Dmitri Maximov
22111211

edited Jan 06 '12 at 10:54

Dimitri,

I completely uninstalled, reinstalled the new version and upgraded the solution. Surprisingly, the references were not copied (which is another issue) except Xtensive.Practices.Web.

So I manually added all the missing references to

Xtensive.Aspects Xtensive.Core Xtensive.Orm Xtensive.Practices.Web Xtensive.Testing (it was automatically added)

All these assemblies are version 4.4.1.0 (I have double-checked them)

I set the option in the Web.config to Upgrade='Recreate' and targeted to a new blank database, still not working.

(Jan 06 '12 at 08:37) Akhtar Akhtar's gravatar image

Dmtri,

Actually, if you are not using Aspects, do not install PostSharp!

Your tips were very helpful. Thanks very much for helping us troubleshoot and fix the problem in such a short time frame.

We appreciate the DO4 folks for their proactive and sincere support (always real time!).

Thanks iWire Dev Team

Akhtar

answered Jan 06 '12 at 11:17

Akhtar's gravatar image

Akhtar
35559

Thank you, Ahmed Fasih Akhtar,

You are always welcome! =)

(Jan 06 '12 at 11:24) Dmitri Maximov Dmitri%20Maximov'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