Quantcast
Channel: Team Foundation Server - General forum
Viewing all articles
Browse latest Browse all 6687

How to register Custom checkin policy for Visual Studio 2013

$
0
0

Hi,

I installed Visual Studio 2013 and having problem with Custom Check in policies. I added new Key and Value to the registry:

HKEY_LOCAL_MACHINE\Software\Microsoft\VisualStudio\12.0\TeamFoundation\SourceControl\Checkin Policies\MyPolicyName. Basically I followed everything in this link:http://msdn.microsoft.com/en-us/library/bb668980.aspx., but I still get error: 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.

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?

UPDATE:

I am using TFS 2012 and SQL Server 2012. Visual Studio 2013 Premium (not preview).

Thanks for the help!


Dilshod



Viewing all articles
Browse latest Browse all 6687

Trending Articles