Where is PostSharp.Public 1.5 DLL ?

Posted by jfneis on Stack Overflow See other posts from Stack Overflow or by jfneis
Published on 2010-05-26T17:07:07Z Indexed on 2010/05/26 17:11 UTC
Read the original article Hit count: 635

Filed under:
|

Fellows,

I'm going crazy with looks like a really stupid problem.

I'm trying to build a simple example using PostSharp as a log AOP utility. I've not installed PostSharp, and I don't want to, I want to reference the necessaries DLLs, change my .csproj and see everything working.

Change the project and add references was kind of easy, byt just after adding the LogAttribute to a method I got two errors:

Error 1 'Log4PostSharp.LogAttribute' is not an attribute class C:\Dev\LogWithPostsharp\LogWithPostsharpCmd\Program.cs 17 10 LogWithPostsharpCmd

Error 2 The type 'PostSharp.Extensibility.MulticastAttribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'PostSharp.Public, Version=1.5.0.0, Culture=neutral, PublicKeyToken=b13fd38b8f9c99d7'. C:\Dev\LogWithPostsharp\LogWithPostsharpCmd\Program.cs 18 22 LogWithPostsharpCmd

The first error really looks like consequence of the second, but here is the deal: the PostSharp.Public.* simply doesn't exist in the downloaded .zip. Is there something that I'm not getting?

Thank you in advance.

Filipe

© Stack Overflow or respective owner

Related posts about postsharp

Related posts about log4postsharp