PostSharp PSSLN gives "Unexpected XML element: LoggingProfiles" -


when using pssln file, following error in tfs msbuild. how fix it? project builds in visualstudio.

here snippet tfs build log windows\newproject.pssln (4, 4) unexpected xml element: loggingprofiles. windows\packages\postsharp.5.0.29\build\postsharp.targets (329, 5)
process c:\programdata\postsharp\5.0.29\bin.release\postsharp-net40-x86-native.exe exited code 11

postsharp 5.0 logging complete rewrite of log aspect. please refer documentation regarding this, in particular, check out customizing appearance of log records.

more specifically, loggingprofiles replaced logging can see in quote below. also, i'd suggest using postsharp.config instead of old pssln file, although based on documentation should work well.

<?xml version="1.0" encoding="utf-8"?> <project xmlns="http://schemas.postsharp.org/1.0/configuration">   <logging xmlns="clr-namespace:postsharp.patterns.diagnostics;assembly:postsharp.patterns.diagnostics">     <profiles>       <loggingprofile name="default" includesourcelineinfo="true">         <defaultoptions>           <loggingoptions includeparametertype="true"/>         </defaultoptions>       </loggingprofile>     </profiles>   </logging> </project> 

good luck.


Comments

Popular posts from this blog

python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -

html - How to custom Bootstrap grid height? -

transpose - Maple isnt executing function but prints function term -