Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7573881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:17:38+00:00 2026-05-30T16:17:38+00:00

StyleCop (v4.4) has started ignoring my settings. I have imported StyleCop targets in the

  • 0

StyleCop (v4.4) has started ignoring my settings.

I have imported StyleCop targets in the project file like this:

  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <Import Project="..\..\Tools\Microsoft\StyleCop\CurrentStyleCop.targets" />

I have a StyleCop.Settings file in the project directory, and when I edit it with the settings editor, it shows SA1640 unchecked, yet when I build I am still getting errors for SA1640.

I have tried removing the StyelCop.Settings, and relying on one in a higher directory, but can’t get it to work.

It used to ignore SA1640 without any problems (this is one of the few rules I override to turn off).

Any ideas how I have broken it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T16:17:39+00:00Added an answer on May 30, 2026 at 4:17 pm

    It turns out I was editing the settings file with the wrong version of the StyleCopSettingsEditor.

    Re-edited with version 4.4 and it all works again.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using StyleCop in VS2008. I get this error: SA1638: The file attribute
Our project already has a StyleCop configuration. I am using ReSharper and I would
Another project, Visual Studio's Code Analysis has this option. But I couldn't find it
I have been trying to follow StyleCop's guidelines on a project, to see if
Recently I have started using ReSharper 6.1, which neatly complements StyleCop which I have
I have started using the StyleCop and it gives warning wherever there is a
i have downloaded the stylecop.chm file...but it is not displaying the content... it only
StyleCop has a rule about using this. prefix to calling class members (SA1101). Is
Our team has some code guidelines that I would like to enforce via stylecop
Resharper (paired with StyleCop) has made me a bit of a neat freak when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.