KNOWN ISSUE: Could not load file or assembly CleanBuildPolicy when creating a new checkin policy

Problem: When trying to create a new checkin policy, you receive the following error:

Could not load file or assembly ‘CleanBuildPolicy, Version=8.0.1200.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. HRESULT 0x8013141A Strong name validation failed.

Workaround: Delete the following value from the Registry:

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

  • Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Hatteras\Checkin Policies
  • Value Name: CleanBuildPolicy
  • Type: REG_SZ
  • Data: C:\Program Files\Microsoft Visual Studio 8\Team Tools\Static Analysis Tools\CleanBuildPolicy.dll

Applicability: Visual Studio 2005 Team System December 2004 CTP