Well , that is a very big disappointment ! The PostSharp 1.5 doesn’t work anymore !
The only solution is to buy PostSharp 2 or some illegal action about the dll’s of 1.5.
Nevertheless PostSharp 1.5 can work with VS 2010 with Framewrok 3.5 so if you are not using dynamics or some fancy sample architecture using only Framework 4 , you still can enjoy this genius framework of PostSharp.
You must enter the project file and add those lines :
Stand on your project –> Unload Project –> Edit cproj ->
1: <PropertyGroup>2: <PostSharpUseCommandLine>True</PostSharpUseCommandLine>3: <DontImportPostSharp>True</DontImportPostSharp>4: </PropertyGroup>
and also :1: <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" />2: <Import Project="C:\Program Files\PostSharp 1.5\PostSharp-1.5.targets" />
That will enable you to work with PostSharp 1.5 in VS 2010.
If anyone has a solution for PostSharp 1.5 with Framework 4 it would be just splendid . Please send me a reference or an explanation..