1
Vote

PostSharp Not Run in Developer Deployed Machine

description

Dear,


I develop solutions for developers like based AOP for Brazilian teams.

We create a service-based log respects, implement the solution and set PostSharp.AspNet.dll and we mention in our ASP.NET app's.

For example, on my machine, where the license is installed PostSharp, the suggested mechanism (PostSharp.AspNet.dll) works perfectly, but when the installation is done on machines where there is PostSharp installed, aspects are not triggered.

The packed our PostSharp.dll as the 3rdPart coupled our solutions, and developers who use our solutions do not use PostSharp directly.

Log PostShart dinamic compilation....:

C:\Program Files (x86)\PostSharp 2.0\Release\postsharp.2.0-x86.exe "/P:Output=C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\e9229429\72eae162\postsharp\App_Web_ymqjsze0.dll" "/P:IntermediateDirectory=C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\e9229429\72eae162\postsharp " /P:CleanIntermediate=False /P:SignAssembly=False /P:SearchPath="C:\Projects\IDF\4 - Projetos\MSLogService35Solution\WebStub\bin" "C:\Program Files (x86)\PostSharp 2.0\Release\Default.psproj" "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\e9229429\72eae162\before-postsharp\App_Web_ymqjsze0.dll"

PostSharp 2.0 [2.0.10.1, 32 bit, CLR 2.0, Release] - Copyright (c) SharpCrafters s.r.o., 2005-2009.

POSTSHARP : info : This copy of PostSharp is licensed to "mind services" (Commercial license).
POSTSHARP : warning PS0131: The module 'App_Web_ymqjsze0.dll' does not contain any aspect or other transformation. For improved build-time performance, consider disabling PostSharp for this module by setting the compilation symbol (aka constant) 'SkipPostSharp' in your project, or set the MSBuild property 'SkipPostSharp=True'.
POSTSHARP : verbose PS0035: C:\Windows\Microsoft.NET\Framework\v2.0.50727\ilasm.exe "C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\e9229429\72eae162\postsharp\App_Web_ymqjsze0.il" /QUIET /DLL /PDB "/RESOURCE=C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\e9229429\72eae162\postsharp\App_Web_ymqjsze0.res" "/OUTPUT=C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\e9229429\72eae162\postsharp\App_Web_ymqjsze0.dll" /SUBSYSTEM=3 /FLAGS=1 /BASE=4194304 /STACK=1048576 /ALIGNMENT=512 /MDV=v2.0.50727
POSTSHARP : message : PostSharp complete -- 0 errors, 1 warnings


Any idea to implement this solution?


Tks,
Alexandre!

comments