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 695849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T03:00:08+00:00 2026-05-14T03:00:08+00:00

Here, we run a set of Visual Studio 2008’s CA rules both locally and

  • 0

Here, we run a set of Visual Studio 2008’s CA rules both locally and on the build server. In order to check in, our CA rules must match the servers policy. However, I work on a large solution with several projects. Building the project in release mode takes a long time with the CA rules enabled, but this is necessary when creating or editing unit tests. This makes working with unit tests a painful task. What I’d like to do is to have a quick way (quicker than going through all projects to disable CA) to disable the CA rules during development, and then re-enable them on before checking in. Does anyone know if this is possible?

  • 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-14T03:00:08+00:00Added an answer on May 14, 2026 at 3:00 am

    I usually create a “Debug No FxCop” build configuration at the solution level for this, with the only difference between the within-project configurations being the RunCodeAnalysis property that Graham has already mentioned. Using a build configuration for this will allow you to avoid reloading your solution when you want to switch between CA and non-CA modes.

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

Sidebar

Related Questions

Here is my setup: Dev: - Windows Server 2008 64-bit - Visual Studio 2008
Here is what I have: Visual Studio 2008 (on 32-bit Windows XP) Qt libraries
I have a Crystal Report in Visual Studio 2008 (C#). Its datasource is set
Environment: C# projects, Visual studio 2008, C#, .Net 3.5, MSBuild Objective: Run my own
I have a Visual Studio 2008 C# Project. Here is what works: It runs
I am currently using Visual Studio 2008 to develop a hierarchical grid that displays
In Visual C++ 2008, I want to catch an exception generated as shown here:
Using Visual Studio 2008 I've built a COM object that targets the .Net Framework
I'm using WPF within Visual Studio 2008. I have a simple WPF UserControl with
Please help this beginner here... I have a SQL Server 2008 R2 running on

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.