title: Registering Custom checkin policy for VS2013
body: <p>I installed Visual Studio 2013 and having problem with Custom Check in policies. I added new Key and Value to the registry:</p>
  
  <blockquote>
    <p>HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\12.0\TeamFoundation\SourceControl\Checkin
    Policies\MyPolicyName</p>
  </blockquote>
  
  <p>Basically I followed everything in this link: <a href="http://msdn.microsoft.com/en-us/library/bb668980.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/bb668980.aspx</a>., but I still get error:</p>
  
  <blockquote>
    <p>Internal error in "My policy". Error loading the "MyPolicy" policy
    (The policy assembly 'MyPolicy, Version=1.0.0.0, Culture=neutral,
    PublicKeyToken=null' is not registered.). Installation instructions:
    To install this policy, read InstallInstructions.txt.</p>
  </blockquote>
  
  <p>Previously it was built in .NET 4.5 and worked fine with VS 2012. I though maybe building it in .NET 4.5.1 might fix the problem, but it didn't. What should I do to fix it? and where is the InstallInstructions.txt located?</p>
  
  <p>UPDATE:</p>
  
  <p>I am using TFS 2012 and SQL Server 2012. Visual Studio 2013 Premium (not preview).</p>
  
  <p>Thanks for the help!</p>