TFS Shell Integration - TF Power Tools requires Visual Studio 2010 - tfs

I just started using Team Foundation 2010, but I'm connecting to the server with Visual Studio 2008 SP1. It's working alright, except I can't install Power Tools to include shell integration because for some reason it requires Visual Studio 2010.
1) Is there any way I can get tfpt Shell Integration without having to install VS2010 ?
Second question is... I installed VS2010 in one machine and used the power tools for awhile. But when I changed the server IP, shell extension suddenly stopped working... It tries to reconnect and fails. I tried executing this, with no success:
tf.exe workspaces /remove:*
But I don't know if it has anything to do with my problem.
2) What happened to the shell integration? how can i solve it ?
thanks in advance

In order to use the shell extensions you need to have team explorer 2010 running on your machine. Install team explorer 2010 and then the power tools and you are ready to go.
When you are not able to connect to the tfs server, the removal of the workspaces will also not happen. That action needs a connection to the TFS server. Has your password been changed lately? If so, you might need to update the stored windows credential (available through the control panel). To investigate the connection problems, you could navigate to TWA (http://myserverip:8080/tfs/web)

Related

Jenkins slave machine Windows configuration

I am very new to Jenkins and sort of new to build .net application, but the guy left team so I have been assigned to do this. I have read tons of articles online about setting up Jenkins master, but little about slave configuration. The guy created a new slave and connect with Jenkins master successfully before he left. And he told me that slave is responsible for 1) downloading source code from TFS server and 2) building them.
now my issue is what do I need to install in the slave machine( windows system) to be able to perform that two tasks?
1) for downloading source code, do I need to install TFS client on slave ?
2) for building source code, do I need to install MSbuild or entire Visual studio ?
Thank you very much !
Assuming you installed a recent version of the Team Foundation Server Plugin, then no TFS Client is required (see https://github.com/jenkinsci/tfs-plugin#400-and-later-new).
Depending on what you are building, installing Visual Studio maybe required or not. In my experience, only a limited set of project types build with just MSBuild and without Visual Studio. There are hacks or supported tips but they work only in specific cases: YMMV.
The new Build Tools for Visual Studio 2017 RC are making this requirement a thing of the past: if you can migrate your code to Visual Studio 2017 you will be able to use them.

How to connect AX 2009 with Visual Studio Online (Visual Studio Team Services)

I'm trying to connect my AX 2009 installation to VSO (recently renamed to VSTS).
After browsing some forum entries I know that I have to install the following:
Install Visual Studio 2008 (not the Express Edition)
Install Team Explorer 2008
Install Visual Studio 2008 SP1 (This will upgrade both VS2008 and Team Explorer 2008 to SP1)
Install VSTS 2008 Forward Compatibility Update
The installation order is important because the SP1 will update VS and Team Explorer, so I followed that order.
Then I created a project in Visual Studio Online.
Now I want to connect my AX 2009 with the repository in VSO. The VSO is hosting a TFS, so this should work.
As far as I could find out to configure the TFS settings you need to set the Version Control Parameters and the System Settings. I did both as shown in the following screenshots:
When I'm setting the Version Control Paramters the Internet Explorer opened and I needed to authenticate with my User and Password against VSO (so this seems fine to me).
The final step now would be to Create the Repository (Tools -> Developer Tools -> Version Control -> Create Repository. But when I try to do this I get the following error-log: Team Server connection error. [Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.
The settings in 7 could be wrong - I'm not really sure what values are to set there.
Any help is appreciated.
The plugin is trying to access a SQL Server database. As VSTS is hosted on Azure and uses multi-tenanting there is no access to SQL server on that URL.
I am pretty sure that this is not ever going to work. VSTS is NOT just hosted TFS and even if it were, Visual Studio 2008 is no longer supported as a client for either TFS or VSTS.
Install the following components:
Visual Studio 2010 with SP1 (can be installed side by side with, or as a replacement for VS2008).
Team Foundation Server 2010 SP1 Object Model
KB 2662296
KB 2736182
There's additional discussion around this on the Dynamics Community AX Forum.

TF30279: Plug-in with ID "Microsoft.ProjectCreationWizard.Build" of type "Project Creation Plugins" could not be loaded

When attempting to create a new TFS Team Project from VS2012 I received the following error after pressing finish.
TF30279: Plug-in with ID "Microsoft.ProjectCreationWizard.Build" of type "Project Creation Plugins" could not be loaded
TFS and VS were both installed on a Windows 7 laptop for evaluation. When setting up TFS I configured the build server without error.
In attempting to get round the problem I uninstalled all 2012 components VS, TFS and Sql Server, then reinstalled them. I tried both TFS express and VS2012 for web express and full TFS trial and VS2012 premium trial (to rule out that it wasn't an issue with the express versions)
Each time the error would persist across re-installs.
Although I could not find why the problem has occurred I did eventually manage to fix the issue after reading up on process templates and understanding where the plugin models were sourced from.
1) I opened VS2012 command prompt and ran as admin
2) changed dir to %programfiles%\Microsoft Visual Studio 11.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer
3) ran gacutil /i for each dll in the folder that looked like it was anything to do with build.

Is it possible to run TFS 2008 and TFS 2010 on the same server?

We've got a server with TFS2008 that we do all our builds on. I need to get an install of TFS2010 running. Can I run it on the same server (windows 2003) or do I need it on a seperate one?
This is not possible.
The exact question was asked before in the MSDN Forum and you can read all the answers here.
As Arun said TFS 2010 installer checks
if previous version of TFS is
installed on the computer and will not
let you install TFS 2010 if previous
version is detected.
There are many reasons why it is not possible to
install TFS 2008 and TFS 2010 side by
side. One of them is the fact that
both are creating an IIS web site with
the same name - "Team Foundation
Server".
Regards,
--Vladimir

Automated builds of BizTalk 2009 projects using Team System 2008 Build

I'm trying to configure automated build of BizTalk 2009 projects using Team Foundation Server 2008.
We have a staging server which has BizTalk 2009 installed. I ran the Team Foundation Server Build Setup on this server, and it can build non-BizTalk projects OK. However, BizTalk projects fail to build. I suspected something was amiss when "Deployment" was not a valid build type! I tried copying various things over from a developer PC which has BizTalk and Visual Studio 2008 installed, but still couldn't get it to work.
I don't really want to install Visual Studio on the staging server, but without it the "Developer Tools and SDK" option in the BizTalk install is greyed out. I guess I need this in order for BizTalk projects to compile.
So, my question is can a BizTalk 2009 server be used as a TFS build agent to build BizTalk projects without having Visual Studio installed. If the answer is no, what's the smallest part of VS that can be installed to get this to work?
Randal van Splunteren answered on MSDN:
There is a BizTalk installable feature called 'Project Build Component' (under 'Additional Software'). You can select/unselect it during installation of BizTalk. . . . It allows for builds without Visual Studio.
Be aware that you can only build stuff. For generating MSI packages you will need a BizTalk server (remote or on the build server itself).

Resources