This project is read-only.

Exclude folder from stylecop

Mar 5, 2014 at 10:29 PM

i'm creating an webapi project and as part of that i installed the Microsoft.ASP.Net Web API 2.1 Help Page package. The problem is that package does not obey to my styleruleset so i'm getting errors. is there anyways i can exclude the Areas/HelpPage folder from running stylecop?

I already tried the settings.stylecop but does not seem to work correctly. Another option would be to exclude one by one in the csproj but if i update the package in the future those changes go away. I guess i can exclude one by on in the settings.stylecop but it may hard to maintain in the future. Definitely the folder would be the preferred option.

Let me know, thanks.