|
May 12
2009
|
Improved support for ASP.NET in PostSharp 1.5 RC1Posted by: gfraiteur on May 12, 2009 Tagged in: Untagged
|
|
I forgot to mention it in the last announcement: support for ASP.NET web sites has been polished and is now fairly easy. If you installed PostSharp on your machine using the installer, enabling it on your ASP.WEB web site project is done in two steps:
- Add references to PostSharp.Public.dll, PostSharp.Laos.dll and PostSharp.AspNet.dll
- Add the following stuff to your web.config:
<configuration>
<system.web>
<compilation
assemblyPostProcessorType="PostSharp.AspNet.AssemblyPostProcessor,
PostSharp.AspNet"/>
</system.web>
</configuration>
More details in the user guide.
Happy PostSharping!
-gael
Set as favorite
Bookmark
Email this
Trackback(0)
Comments (1)

Barak Ulmann
said:
|
Still unable to compile my ASP.NET project Few more things need mentioning: * In order for the POSTSHARP15 to be recognized the computer must be restarted * For some reason after modifying the web.config file by adding the compilation/@assemblyPostProcessorType instruction I still got Postsharp build exception "PostSharp did not complete successfully. Enable PostSharp tracing to see details." * I enabled trace by adding the advanced PostSharp configuration: and edited the PostSharp-Library.config file * Finally I got a details log with ILASM exception which I don't know how to resolve: error PS0034: ILASM exited with return code 1. Tool output: ***** FAILURE ***** C:WINDOWSMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Filesisrotela4ed771ee50fd771hepostsharpApp_Global Resources.apo2f9fr.resources.il(29) : error : syntax error at token '.' in: .culture "he" |
|
Write comment


