TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

Team Project creation fails with System.MissingFieldException

May 20th, 2015 · No Comments · TFS 2013, Troubleshooting TFS

The Problem You are trying to create a new Team Project in TFS and receive the following error: Module: EngineEvent Description: TF30162: Task “TestVariable” from Group “TestManagement” failedException Type: Microsoft.TeamFoundation.Client.PcwExceptionException Message: System.MissingFieldException: Field not found: ‘Microsoft.TeamFoundation.TestManagement.Common.WitCategoryRefName.SharedDataSet’.   at Microsoft.TeamFoundation.TestManagement.Client.TestManagementTeamProject.get_SharedParameterDataSetWorkItemTypeName()   The Solution Run the following on the TFS 2013 application tier (in command prompt as admin): […]

[Read more →]

Tags:

nuget.exe fails with Response: Invalid URI: The hostname could not be parsed.

May 20th, 2015 · No Comments · NuGet

The Problem You are using a custom NuGet feed when running nuget.exe you receive the following error message: Response: Invalid URI: The hostname could not be parsed. The Solution Double-check the URL you are using (for example, try opening it on a browser). Typically, the URL should end with /nuget (for some servers like ProGet […]

[Read more →]

Tags:

Book Recommendations for Team Foundation Server 2013

June 2nd, 2014 · No Comments · Team Foundation Server, Training and Learning

As you can see, some have not been updated for TFS 2013, but their content is still valid. Here’s my personal selection of books covering TFS 2012/2013: Professional Team Foundation Server 2013 The ultimate reference for TFS. A “must-have”. This book should not be missing on anyone’s shelve. Visual Studio Team Foundation Server 2012: Adopting […]

[Read more →]

Tags:

Getting the compile and test status as environment variables when extending TF Build using scripts

May 20th, 2014 · 1 Comment · Team Foundation Build (TF Build), Tools and Utilities

The Goal When running custom batch or PowerShell scripts as part of TF Build, you want to access the compilation and test result using an environment variable. The Solution When you use the new TfvcTemplate.12.xaml build process template, it’s easy to run additional scripts or tools as part of the build process. There is a […]

[Read more →]

Tags:

Writing the Build Report with Associated Changesets and Work Items to a file as part of the build

May 19th, 2014 · 3 Comments · Team Foundation Build (TF Build), Tools and Utilities

The Goal TFS has a nice Build Reporting, including a list of associated changesets and work items (if any). You might want to have this information saved to a file during a build. The Solution When you use the new TfvcTemplate.12.xaml build process template, it’s easy to run addition scripts or tools as part of […]

[Read more →]

Tags:

Notifying users when a particular work item changes in TFS

May 14th, 2014 · 2 Comments · 18401, 18402, Tools and Utilities

The Goal In TFS you can set up Project Alerts that alert users when work items change. But sometimes you would like to be able to add a list of people to be notified when a particular work item changes. The Solution You can achieve this by using a server-side plug-in. Here’s a step-by-step guide: […]

[Read more →]

Tags:

Turning off policy overrides in TFS

May 13th, 2014 · 2 Comments · 18401, Team Foundation Server, Team Foundation Version Control, Tools and Utilities

The Goal Check-In policies have been around since the first version, TFS 2005, to help a team define a list of steps they want to perform prior the checking in. If a policy is not met, it alerts the user. When policies fail, there is an option to “override” the warning(s) and continue with the […]

[Read more →]

Tags:

Extending TFS’ default behavior using server-side plug-ins

May 12th, 2014 · No Comments · 18401, Team Foundation Server, Team Foundation Version Control, Tools and Utilities

In TFS 2005, Check-In Policies helped to ensure certain rules prior to check-in. However, check-in policies are executed locally and you must ensure they are available for the client (in the appropriate version) and installed. In TFS 2010, Gated Check-Ins were introduced, which allowed validations such as the compilation, unit test execution and more (basically […]

[Read more →]

Tags:

From the KB: Performance decreases in TFS 2013 Update 2 after you upgrade to SQL Server 2014

May 8th, 2014 · 2 Comments · 18141, 18404, TFS Administration

From the Microsoft KB article: “After you upgrade to Microsoft SQL Server 2014, you notice a decrease in performance in Microsoft Team Foundation Server (TFS) 2013 Update 2.” “These issues occur because the hardware requirements for SQL Server 2014 are greater than those for ealier versions of SQL Server. “ Link: http://support.microsoft.com/kb/2953452/en-us

[Read more →]

Tags:

Article: The evolution of Microsoft’s solution for Application Lifecycle Management: Team Foundation Server

May 8th, 2014 · No Comments · Team Foundation Server

Pieter Gheysens, a fellow Visual Studio ALM MVP, wrote an article over how TFS and Microsoft’s ALM platform in general evolved from its beginnings (2006 was the first public release) until today. You can get the .PDF from his blog at: http://intovsts.net/2013/12/03/the-evolution-of-almtfs-pdf-available-for-download/ Enjoy! –Neno

[Read more →]

Tags: