开发者

PostSharp Cache Sample NOT working outside of the sample solution

开发者 https://www.devze.com 2022-12-29 17:26 出处:网络
PostSharp\'s Cache sample project works, but when I copy all classes and try to replica开发者_运维问答te it on my own solution, Cache does NOT happen. But build does not fail, so there must be somethi

PostSharp's Cache sample project works, but when I copy all classes and try to replica开发者_运维问答te it on my own solution, Cache does NOT happen. But build does not fail, so there must be something going on. Any tips?


I figured it out. Apparently, you have to modify the .proj file to make sure POSTSHARP is building it. Read through the step carefully at http://www.sharpcrafters.com/postsharp/documentation/enabling-postsharp

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号