MSBuild Arguments property in Team Foundation Server 2010

Sometimes you want to include external references in the Team Foundation Server Version Control so that you don’t need to install the assemblies in the GAC of every build server. In Team Foundation Server 2010, the build is based on Windows Workflow, and there is no default option to add the hintpaths (or additionalreferencepaths) where the build can find your external files.

You now have to specify the paths as MSBuild Arguments. You can do that as following:

1. Find your build definition in the Team Explorer.
2. Right click on the build and choose “Edit Build Definition”.
3. In the list on the left, select the “Process” step,
4. In the “Advanced” section, type the following in the “MSBuild Arguments” property:

/p:ReferencePath=”<PATH>”

Alternatively, you can specify multilple reference paths by adding multiple paths by using the ‘;‘. For example,

/p:ReferencePath=”[<PATH1>;<PATH2>;….<PATHn>]”

Advertisements

Power management features with Windows Server 2008 and Windows Server 2008 R2 Hyper-V

To disable Hyper-V, enable Power Management features, execute the following command:
sc config hvboot start= disabled

Enable Hyper-V, disable Power Management features, execute the following command:
sc config hvboot start= boot

NOTE: sc.exe has syntax in which you really do need a space between “start=” and “boot” or “disabled”, or sc.exe will error out.

Build Server (Build Controller and Agent) for Team Foundation Service Preview

Build Server (Build Controller and Agent) for Team Foundation Service Preview

To have a build server that talks to the Team Foundation Service Preview, you need to install the Build Service from the latest Team Foundation Server 11 Developer Preview either one of the following installation media

1. Web Install (1Mb),
2. Self Extracting Archive (1.1Gb), or
3. ISO (1.1Gb)).

Web Install download URL: http://go.microsoft.com/fwlink/?LinkId=225714

Self Extracting Archive download URL: http://go.microsoft.com/fwlink/?LinkId=225713

ISO download URL: http://go.microsoft.com/fwlink/?LinkId=225716

Microsoft Test Manager 2010 Service Pack 1 hotfix for Team Foundation Service Preview

You can connect to the Team Foundation Service Preview from Microsoft Test Manager 2010.

As with Visual Studio 2010, you need to install the hotfix KB2581206 after installing Visual Studio 2010 Service Pack 1 if you do not already have it.

Hotfix KB2581206 download URL: http://go.microsoft.com/fwlink/?LinkID=212065

Service Pack 1 for Visual Studio 2010 download URL: http://www.microsoft.com/download/en/details.aspx?id=23691

Visual Studio 2010 Service Pack 1 hotfix for Team Foundation Service Preview

You can connect to the Team Foundation Service Preview from Visual Studio 2010.

To connect and authenticate with the Team Foundation Service Preview you need to install the hotfix KB2581206. If you do not have Service Pack 1 for Visual Studio 2010 installed then you need to install Service Pack 1 for Visual Studio 2010 first.

Hotfix KB2581206 download URL: http://go.microsoft.com/fwlink/?LinkID=212065

Service Pack 1 for Visual Studio 2010 download URL: http://www.microsoft.com/download/en/details.aspx?id=23691

Visual Studio Team Foundation Server 11 Developer Preview (Basic installation)

Visual Studio Team Foundation Server 11 Developer Preview

Visual Studio Team Foundation Server 11 Developer Preview is a pre-release version of Team Foundation Server and should not be used in production scenarios. This release is designed to showcase updates and improvements made since Team Foundation Server 2010, and provides an opportunity for developers to use and provide feedback. In this blog entry, I will provide a step-by-step installation guidance of Visual Studio Team Foundation Server 11 Developer Preview.

System Requirements

In order to complete the installations you will need a machine that already has a supported operating system installed. The supported operating systems are Windows 7 (x86 and x64), Windows 8 (x86 and x64), Windows Server 2008 with Service Pack 2 (x64), Windows Server 2008 R2 (x64), and Windows 8 Server (x64). You also need the installation media for Visual Studio Team Foundation Server 11 Developer Preview. If you have a MSDN subscription, you can download the installation media for Visual Studio Team Foundation Server 11 Developer Preview.

Step 1: Installing Visual Studio Team Foundation Server 11 Developer Preview

1.       Double-click the default HTML application file. The Microsoft Visual Studio Team Foundation Server dialog box appears.

2.       In the Microsoft Visual Studio Team Foundation Server dialog box, click the Install Team Foundation Server hyperlink. The Team Foundation Server Setup dialog box appears.

3.       In the Team Foundation Server Setup dialog box, verify that the I accept the license terms for Team Foundation Server 11 check box is checked, and then click the Continue button.

4.       Click the Enable (Recommended) check box, and then click the Install Now button. The installation starts automatically.

5.       In the Restart Required dialog box, click the OK button to restart the machine.

6.       After restarting the machine, click the Close button. The Team Foundation Server Configuration Center dialog box appears.

 

Step 2: Configuring Visual Studio Team Foundation Server 11 Developer Preview

1.       After performing Step 6 in Demonstration 1, the Team Foundation Server Configuration Center dialog box appears. In the About this Wizard page, click Basic, and then click the Start Wizard button.

2.       In the Welcome to the Basic Configuration Wizard page, click the Next button.

3.       In the Select a SQL Server Instance for your Team Foundation Databases page, click the Next button.

4.       In the Confirm the Configuration Settings Before Proceeding page, click the Verify button.

5.       In the Readiness Checks Validate that Your System is Ready to Configure page, click the Configure button.

6.       In the Configuration Process page, wait for the configuration wizard to complete. The configuration wizard now performs a series of installations and configurations.

7.       In the Configuration Process page, verify that the operations Install IIS, Install Sql Express, Configuration Database, Creating Web Sites, Configuration Services, and Project Collection completed successfully, and then click the Next button.

8.       In the Review the Results page, verify that the Connection  Details section, and then click the Close button.