TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

Entries Tagged as 'Team Foundation Server'

Q: Where to get the Process Template Editor?

April 10th, 2016 · No Comments · FAQ, TFS Process Customization

The Process Template Editor that you can use to export/import work item types of existing team projects as well as modify or create your own process templates, is a separate download and made available as part of the TFS 2015 Power Tools. As the Process Template Editor is a plug-in to Visual Studio, you need […]

[Read more →]

Tags:

Solution for Error CS0246: The type or namespace name `App’ could not be found when building Xamarin.iOS

April 4th, 2016 · 2 Comments · Team Foundation Build (TF Build)

When trying to build an Xamarin iOS solution with TFS Build, you get the following errors/warnings: /Library/Frameworks/Mono.framework/Versions/4.2.3/lib/mono/4.5/Microsoft.Common.targets:  warning : Project reference ‘../HelloWorldApp/HelloWorldApp.csproj’ could not be resolved. AppDelegate.cs(26,33): error CS0246: The type or namespace name `App’ could not be found. Are you missing an assembly reference? How to fix this: Remove references to the project that […]

[Read more →]

Tags:

Q: What permissions do I need to rename a Team Project?

February 29th, 2016 · No Comments · FAQ, TFS 2015, TFS Administration

Answer: Users need the “Edit project-level information” permission to rename a team project. By default the Project Administrators group has that permission. It’s documented here: https://msdn.microsoft.com/en-us/Library/vs/alm/Overview/rename-team-project –Neno (Special thanks to Rogan Ferguson and Kathryn Elliott from Microsoft for helping me with this answer.)

[Read more →]

Tags:

Q: What are the possible expressions for the “Test Filter criteria” parameter?

February 22nd, 2016 · No Comments · Automated Tests, Team Foundation Build (TF Build), TFS Lab Management

Answer: You can find a good description of the various expressions that you can use for the “Test Filter criteria” parameter at: http://i1.blogs.msdn.com/b/visualstudioalm/archive/2012/09/26/running-selective-unit-tests-in-vs-2012-using-testcasefilter.aspx –Neno

[Read more →]

Tags:

Solved: The type ‘Microsoft.TeamFoundation.Framework.Client.ILocationService’ cannot be used as type parameter…

February 22nd, 2016 · 2 Comments · TFS Extensibility

The Problem You are receiving one of the following compiler errors: The type ‘Microsoft.TeamFoundation.Framework.Client.ILocationService’ cannot be used as type parameter ‘TService’ in the generic type or method ‘VssRequestContextExtensions.GetService<TService>(IVssRequestContext)’. There is no implicit reference conversion from ‘Microsoft.TeamFoundation.Framework.Client.ILocationService’ to ‘Microsoft.TeamFoundation.Framework.Server.IVssFrameworkService’. ‘ILocationService’ does not contain a definition for ‘GetSelfReferenceUri’ and no extension method ‘GetSelfReferenceUri’ accepting a first argument […]

[Read more →]

Tags:

Q: How can I use an TfsTeamProjectCollection to authenticate against the REST API (*HttpClient)?

February 22nd, 2016 · No Comments · TFS Extensibility

Answer: If you are already authenticated against the “classic” TFS Object Model from the Microsoft.TeamFoundationServer.ExtendedClient NuGet Package  (typically having an instance of TfsTeamProjectCollection), you can use its GetClient<T> generic method to aquire an *HttpClient class from the REST API. Example: TfsTeamProjectCollection tpc = new TfsTeamProjectCollection(new Uri(collectionUri))) TfvcHttpClient tfvcClient = tpc.GetClient<TfvcHttpClient>(); See also “Example 3” at: […]

[Read more →]

Tags:

SOLVED: TF248020: You cannot specify the ‘Reportable’ attribute for filed ‘System.BoardColumnDone’.

February 22nd, 2016 · 2 Comments · TFS Administration, TFS Process Customization

The Problem When trying to upload a Work Item Type Definition (WITD) XML file using witadmin.exe the following error message is shown: TF212018: Work item tracking schema validation error: TF248020: You cannot specify the ‘Reportable’ attribute for filed ‘System.BoardColumnDone’. You can only define the reportable attribute for Integer, Double, String, or DateTime fields. Remove this […]

[Read more →]

Tags:

Q: Can I run a second, third, etc. build agent for TFS 2015?

February 17th, 2016 · No Comments · Team Foundation Build (TF Build), TFS 2015

This post applies to the new TFS 2015 Build Agents (not XAML Build Agents). Answer: Yes, you can run multiple agents on the same machine. To install an additional build agent, make sure to download the Agent.zip file from your TFS again (do not just copy the existing Agent folder as it contains configuration) and […]

[Read more →]

Tags:

Q: How can I delete test runs, results, and attachments in TFS 2015?

February 17th, 2016 · No Comments · TFS 2015, TFS 2015.1, TFS Administration, TFS Test Case Management

Answer: With TFS 2015 Update 1, there’s a new “Test” tab on Team Web Access, where you can configure how many days of data you want to keep. You can configure this separately for manual and automated test runs. By default, for existing team projects, it is set to Never delete any test runs. For […]

[Read more →]

Tags:

Q: How do I uninstall Visual Studio 2015 completely?

February 17th, 2016 · 3 Comments · FAQ, TFS Administration, Visual Studio 2015

Answer: To entirely uninstall Visual Studio 2015, run the following command: vs_enterprise.exe /uninstall /force More info: https://blogs.msdn.microsoft.com/heaths/2015/07/17/removing-visual-studio-components-left-behind-after-an-uninstall/

[Read more →]

Tags: