TFS Checkin plocies for different version of Visual Studio - visual-studio-2012

I created a Custom Checkin policy and build it in Visual Studio 2013 and also build it in Visual Studio 2012 so that whoever using Vs 2012 can use the policy and successfully registered the policy to all machines. I applied the policy to a Team Project from my computer which has VS 2013. In our company some people still use VS 2012. Now whoever is using VS 2012 having issue on checkin. They get this error: Internal error in [Policy Name] policy. Error loading the [Policy Name] policy. Installation instructions: PLease see the web based installation instructions.
So does everybody in our company needs to upgrade to VS 2013?
Thanks for the help!

You should be able to remove the 2013 created policy and add it with 2012. It should then upscale to 2013.
Its the backward compat that's an issue...

The people with VS2012 should un-install 2013 version policy and install a policy with references to TFS2012 dlls.

Related

Can I use TFS 2015 Express with Visual Studio 2012 Professional

I need to migrate an old VSS 2005 source control database and I have downloaded & installed Microsoft Visual Studio Team Foundation Server Express 2015.
But I still have to use Visual Studio 2012 Professional (Reinstalled Team Explorer 2012 and then update 5). Trying to create a new project on TFS server throws error:
TF30172: You are trying to create a team project either without
required permission or with an older version of Team Explorer.
As I have added my account as TFS administrator I suppose the problem is with older version? Note that I have almost no experience with TFS, because I never needed it before. I cannot find any other means how to create a new project. (I planned to use this wizard).
Can I use TFS 2015 Express with Visual Studio 2012 Professional and if yes, how do I create a first empty project?
Yes, you are correct, only the latest version has "full" compatibility with the latest Team Foundation Server. You have to use the same Visual Studio of visual studio as the version of TFS that you're connecting to to create a team project.
If you're using TFS 2015 Update 2 or later then you can create a team project from the web as well.
Useful links:
https://www.visualstudio.com/zh-TW/docs/setup-admin/create-team-project
https://www.visualstudio.com/en-us/docs/setup-admin/requirements#client-compatibility

How do I apply a Visual Studio Online Professional license to Visual Studio 2013

I recently purchased a single user license for Visual Studio Online Professional in order to make use of the fact that it grants a monthly subscription license for the Visual Studio Professional IDE as well as all the features of basic VSO.
I ran into problems trying to apply the license to Visual Studio since VSO uses Azure Active Directory accounts to authenticate and these are not considered Microsoft Accounts. This means that when you go to Help -> Register and try to sign in you get an error telling you that it is not a MS account.
It appears that there is little or no documentation about this online.
To register a "Visual Studio Online" professional license within Visual Studio 2013 Professional ID you simply need to connect the trial version of Visual studio 2013 Professional to your Visual Studio Online TFS instance.
Note that this will not work if you have an MSDN license (either signin or product key applied to your Visual Studio 2013 IDE already. You must remove these first.
To remove a product key license from VS2013 please see the answer at https://stackoverflow.com/a/22258088/285470

Create New Project with VS 2012 PRO on TFS Express 2013

I'm getting this Message when trying to create a new project:
TFS 2012 Express and Visual Studio 2012 is installed in a separate Machines. All machines are members of the Active Directory, behind proxy and comes with Kaspersky EndPoint 10 MR.
Also I'm a TFS Console Administrator and have the highest rights available.
Visual Studio 2012 Machine Setup:
Professional Version with Update 4;
Windows 7 Pro SP1;
TFS Machine Setup:
TFS 2013 Express (TFS 12.0.21005.1 Tfs2013.RTM);
Windows 7 Pro SP1
Sounds like you need an updated version of Team Explorer (the connector between VS and TFS) since you are using TFS 2013 and VS 2012. VS 2012 ships with Team Explorer 2012 which can connect to TFS 2012 and earlier versions.
Take a look at the compatibility charts: http://msdn.microsoft.com/en-us/library/dd997788.aspx
Perhaps you need Team Explorer Everywhere (TEE): http://www.microsoft.com/en-us/download/details.aspx?id=30661
I figured out that the reason this throws the error message because the Team Explorer and TFS should be aligned with same version. In my context, I was using Team Explorer 2012 which ships with VS 2012 against a TFS Express 2013.
Team Explorer Version and the TFS Version should be the same to avoid this error appearing.
There were few things you could do,
As #madannes mentioned in his post above to use Team Explorer Everywhere
and
As Vivek Bansod explains in the MSDN Forum, I used the Team Explorer for Visual Studio 2013 (The shell version of VS 2013), to create a Team Project and then continued to Add Solution, Check-In and Check-Out operation against TFS Express 2013.
Download Team Explorer for Visual Studio 2013 from this link and create a project there. These projects can be connected to from VS 2012.

How to use StyleCop checkin policy with VS2012 TFS2010

I am using Visual Studio 2012 with TFS 2010, I want to use StyleCop checkin policy but it doesn't work. I have installed StyleCop, StyleCop Check-In Policy for TFS 2010 and Team Foundation Power Tools 2010 on server and client, still no benefit.
I know it's an older post but I just released a check-in policy for Visual Studio 2013. I don't know if you already using VS2013 but take a look at this extension. If you want VS2012 support, you can add an issue. If there are enough votes I will add support for it.
https://stylecopcheckinpolicy.codeplex.com/

TFS / VS 2012 RC - where is VSSConverter.exe?

I am setting up a VM with a brand new install of TFS 2012 using the RC just released. This is the first time we have tried to use TFS in my company and I need to upgrade some SourceSafe databases. I've also installed the RC for Visual Studio 2012 Ultimate Edition (everything but the MFC foundation classes) but I still can't find the VSSConverter.exe tool.
According to Google it's supposed to be in the Common7\Ide folder, but is nowhere to be seen. Admittedly the only internet links I can find at the moment are for VS2010 so they may be out of date, but I have scanned the entire C drive and still can't find VSSConverter.exe
ps. I know there is a "download and install VSS converter" link in the TFS Admin Console but that just takes me to the Microsoft home page! : http://www.microsoft.com/en-us/default.aspx
VSSConverter is moving away from being a standalone tool and - as you noted - moving to be a part of the TFS Admin Console.
Unfortunately, the VSS -> TFS conversion experience did not ship as part of the TFS 2012 RC. It will instead be included in the released TFS 2012.
In the meantime, the VSSConverter that was included as part of TFS 2010 will properly migrate to a TFS 2012 instance. You will, however, need to install a 2010 instance just to run the tool.
If you do not require the full history, you could simply check-out your VSS databases and then check them into TFS. Another alternative is to install TFS 2010 and use VSSConverter to that database, then perform an in-place upgrade to TFS 2012.

Resources