I have custom check-in policies deploying via VSIX. Now I'm trying to use them in Visual Studio 2013.
What I did: I opened my policies in VS 2013. Changed "Install Targets" in vsixmanifest to [10.0, 13.0). Then built project, installed VSIX and opened both VS.
VSIX project uses .NET Framework 4.5, policies project uses 4.0.
What I have:
- Last version of my policies in
C:\Users\...\AppData\Local\Microsoft\VisualStudio\12.0Exp\Extensions
directory - Copies of policies for both 2012 and 2013 VS in
C:\Users\...\AppData\Local\Microsoft\VisualStudio\11.0(and 12.0)\Extensions
- Key with path to policies in registry for both VS in
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0_Config(and 12.0_Config)\TeamFoundation\SourceControl\Checkin Policies
Now, when I want to apply them in Team Project Settings -> Source Control -> Check-in Policy -> Add
, I can choose my custom policies in VS 2012, but VS 2013 just doesn't see them.
What can I do to fix it?
UPD:
So, I solved my problem by changing assembly version of Microsoft.TeamFoundation.VersionControl.Client
from 11.0 to 12.0
AND
.NET Framework version in policies project from 4.0 to 4.5