StyleCop Preview Workaraound/Support

Mar 3, 2011 at 4:12 PM

On our project we have started using the preview version of StyleCop and we have custom rules compiled against this version.

We'd like to use the Source Analysis Policy, but obviously it is compiled against StyleCop DLLs. Is there a version of SAP compiled against the preview version of StyleCop or a workaround for getting the two to work together?

Mar 3, 2011 at 7:55 PM

As a workaround, you could try to setup assembly bindings (in the config of the application calling StyleCop).

Here are some examples how to setup them for some third-party StyleCop plug-in:

I hope they could help you resolving your own case.

Best regards,
Oleg Shuruev