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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:30:26+00:00 2026-06-17T16:30:26+00:00

We were using Team Foudation Server 2010 with Visual Studio 2010 for every project

  • 0

We were using Team Foudation Server 2010 with Visual Studio 2010 for every project we made in our company. We created some post build events, some check-in policies and everything was working correctly.

Recently we moved to Visual Studio Professional 2012 (Version 11.0.51106.06 Update 1) and now, everytime we try to check-in some code, we get this error:

Internal error in Check for Compilation Warnings and Errors Policy. Error loading the Check for Compilation Warnings and Errors Policy policy (The policy assembly ‘CheckForWarningsPolicy, Version=2.1.0.0, Culture=neutral, PublicKeyToken=342882479c9e5e25’ is not registered.). Installation instructions: To install this policy, please read ReadMe.txt.

Error loading the Check for Compilation Warnings and Errors Policy policy (The policy assembly ‘CheckForWarningsPolicy, Version=2.1.0.0, Culture=neutral, PublicKeyToken=342882479c9e5e25’ is not registered.). Installation instructions: To install this policy, please read ReadMe.txt.

ReadMe.txt that is cited in the end of the error is not reachable, there is no link or indication where the file is.

I’ve searched for this answer in google and here, but without any luck. Probably I’m making the wrong search.

I read some questions like:

  • Custom policies in Visual Studio 2012 and TFS 2010
  • TFS 2012 and VS 2010

But none of them worked for me. What can I do to solve this error?

Thank’s

  • 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-06-17T16:30:28+00:00Added an answer on June 17, 2026 at 4:30 pm

    I “solved” the error and I’ll post what I did so anyone who’s facing the same problem can learn from my experience.

    To create this check-in policy in Visual Studio 2010 we used a custom policy developed by Jeff Bramwell (link to MSDN profile). This policy, apparently, it’s not being maintained by him as you can see in the policy page in MSDN. I asked a question in the page and sent him a tweet, now I’ll wait for his answer.

    Testing this policy in Visual Studio 2010 I checked that it was not working, so, I just removed it from the Project in Project > Settings > Source Control > Check-in Policy.

    If I need something more detailed, I can add a Code Analysis check-in policy as described in the Stack Overflow question about Prevent check-in if code analysis warning exists. With this approach I can even set a custom rule.

    Hope this will help someone with the same problem.

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

Sidebar

Related Questions

We are using Visual Studio 2012 and Team Foundation Server 2010 in our project.
I am using Visual Studio 2010 with Team Foundation Server 2010. I have created
We are using Visual Studio 2010 connected to Team Foundation Server 2010 and we
I've been happily using Team Foundation Server with Visual Studio 2010 for the last
I am using Visual Studio 2010 and Team Foundation Server. I was wondering if
I am using Visual Studio 2010 along with Team Foundation Server. I know that
I am using Visual Studio Professional 2010 and the Team Foundation Server Express (beta).
I am using Visual Studio 2010 SP1 with Team Foundation Server 2010. Whenever I
I'm running Visual Studio 2010 and using Team Foundation Server, and this thing is
Currently our company is using Team Foundation Server 2010, and we have quite a

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.