The latest version of PostSharp being distributed via NuGet place a compilation-checking file in a project, named 'RequiresPostSharp.cs' (or vb)
This file contains the following code, enforcing Postsharp not to be turned off for the compiler.
#error PostSharp is not introduced in the build process. If NuGet just restored the PostSharp package, you need to rebuild the solution.
Resharper detects this as a solution error, stating the error in the second line. The compiler runs normally though.
Any ideas on how to fix this?