I have a custom check in policy that works fine when I check in through VS. However, when I'm trying to check in through the file explorer (right clicking on a file and selecting Team Foundation Server > Check in) this fails.
I get an error 'Internal error in Test Checkin. Error loading Test Checkin policy (The policy assembly 'TestCheckin ...' is not registered). NOTE: Test Checkin is my custom policy and is pretty much blank since I want to test if it runs or not. Below is its Evaluate()
public override PolicyFailure[] Evaluate() { return new PolicyFailure[0]; }
I'm running:
Windows 10 with Visual Studio 2015, TFS Power Tools 2015
Server: Windows 2012 R2, TFS 2015
Dll registered in:
\HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\14.0_Config\TeamFoundation\SourceControl\Checkin Policies
\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0\TeamFoundation\SourceControl\Checkin Policies
Any ideas why it wouldn't work when trying to check in through the file explorer?