w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
  Home » TFS » Page 1
How to delete a user account from TFS so that it will no longer appear in Assigned To or User Management?
By Default the Assigned To field shows the list of all Valid TFS Users (this is a specific TFS Group). So if you don't want somebody to show up in that list you have to make sure they are not in the Valid TFS Users group. If you inspect this group in the TFS Admin interface you can see which other groups are members of it. Now it's just a matter of tracing through the many TFS security groups to

Categories : Tfs

Can we configure TFS repo in ReviewBoard
Yes, have a look at this link and it might help; http://tpinet.wordpress.com/2010/08/24/code-review-goodness-with-reviewboard/

Categories : Tfs

How to hide not done PBI from backlog in TFS 2013
First, if you map Closed to In Progress then it will always be in the backlog. Second, what you are trying to do is really dysfunctional. You should place the PBI back in Approved and put it back on the backlog. You can create a query with State=Approved AND State was ever Commited which will give you a list of overcomitted work.

Categories : Tfs

How to move TFS 2013 Background Job Agent cache to a different location
It is not possible to move anything associated with the TfsJob Agent. However when installing TFS there is the option to install to a different disk for everything. I would however not recommend this practice and you should have at least 100gb for a modern servers primary partition.

Categories : Tfs

Adding a TFS server group to access levels via command line
Create 3 TFS server groups; add these groups to the different access levels (e.g. TFS_ACCESS_LEVEL_(NONE|STANDARD|FULL)). Now use the TFSSecurity commandline tool to add groups to these existing and mapped groups(tfssecurity /g+ TFS_ACCESS_LEVEL_NONE GroupYouWantToHaveThisAccessLevel). There is no other way to directly add people to the access levels, except probably through the Object Model using

Categories : Tfs

TFS - Move tasks between Work Items
I suspect that the easiest way to do it would be from Excel. Create a Tree-based query that shows everything, then move the child records in Excel using simple cut and insert cut cells. Excel will then allow you to publish the new structure in one go. If you need to move items up to a higher or lower level, place the Title Field in the column representing the level. See this little video I captu

Categories : Tfs

TFS Online Build Fails - NuGet package Restore Not working
Finally I made it work. It took a while. At this point, 2 different options available : Keep the NuGet.targets file and refer that NuGet.targets file from all the project (Didn’t work for me) Explicitly call the NuGet.Exe package restore before the build The option 1 didn’t work for me, that’s why to go ahead with the 2nd option, I had to do: Delete the NuGet.targets file from the

Categories : Tfs

Visual Studio Online, 403 forbidden, you do not have licensing rights to access this feature, Overnight lost majority of rights?
Got a reply back from Microsoft. Visual Studio Online Membership Desciptions Basically, you need at the very least a basic membership to perform admin functions or an MSDN subscription. I had always had this subscription so I had never seen this issue before. Long story short, if you use this and your subscription runs dry good luck getting to your code. (although Microsoft support was very h

Categories : Tfs

TFS Create Main and Development branch from existing team project
There's not a great solution to this, but here's one option: Create a MAIN folder. Copy all your source under this folder. Convert MAIN to a branch. Branch DEV from MAIN. Keep your old source code around (the stuff not under the MAIN folder) for history purposes.

Categories : Tfs

How to make a direct query to the DB in order to get the list of Iteractions by Team
Querying the TfS operational store directly is unsupported and can lead to your system being unsupported. You should use the reporting tools instead. TFS creates a data warehouse and cube where all the information is stored for reporting purpose's. You can just plug Excel into the data warehouse a query tye data that you need. If you want trend analysis you can also query the cube. http://msdn.m

Categories : Tfs

Show all tasks assigned to me in a tree that extends to the root
I attached a version of the query you need to create. The bottom part is a group of nobody assigned and @me. You can change that part if you need to.

Categories : Tfs

how to get current branch from TFS postbuild scripts
It is not possible to solve this in a general case: it depends how one organizes his version control (see graphic). $ | +--Project1 | | | +--Branch1 | | | +--Branch2 | +--Project2 | +--App1 | | | +--Branch3 | +--App2 | +--Branch4 You can apply either one of these techniques: get the path of post-build script (assuming is part of the branch) pass

Categories : Tfs

Team Foundation server 2013 backlog order API
The rest api's for this are currently not available however you can update the "Backlog Priority" field from your application of choice. I have, in the past, used excel to bulk move items around when the backlog I large. If you have Team Explorer installed you can use the Team tab on Excel to connect to your backlog query and reorder to your hearts content. In 2013.4 Microsoft have updated the ba

Categories : Tfs

Branching Entire solution vs Branching single project in TFS
You should branch the entire solution assuming the entire solution is released at the same time. However, you only need to branch if you have multiple codebases that diverge from each other. If every developer is working against the same codebase then there is no need to branch at all.

Categories : Tfs

Tracking Blocked and Blocking issues in TFS 2013
The Affects/Affected By is not a standard link type in the Scrum Process Template, if you're sharing the Team Project Collection with a project that has the MSF CMMI template then it will show up. The relationship is intended to track Change Requests to Requirements, not to trace Blocked items or dependencies between items. How you would do this by default in the Scrum template is to use the "R

Categories : Tfs

MSpec Test Adapter with TFS
After lots of research and trial and error, I finally figured how to make this work. It's actually pretty easy. Install the MSpec Test Adapter on the build server. Download the MSpec Test Adapter and change the file type to .zip Extract the files to a folder on your build server. Point the "Version control path to custom assemblies" to the files in step 3 above. *Note: You can access the windo

Categories : Tfs

How to access TFS 2013's $(Rev:.r) property from within a Build Template?
You effectively need to parse this off yourself from the BuildName parameter. If you are using TFS 2013 you can do it in PowerShell. Prior versions need a customized build template. There are prebuilt solutions to this. Best is the TfsVersion activity or the VersionAssemblies.ps1 that is provided as part of the TFS Community Build Tools.

Categories : Tfs

TFS Build 2013 can't select mstest
In the 2013 build template Microsoft has defaulted to the new Agile Test Runner and no longer supports the selection of the old test runner for 2013 (12.0) templates. When you select a 2012 or 2010 build template (10.0 or 11.0), Team Build will still run using the MsTest runner. If you customize the 2013 template to use the old Run Tests activity it will still run tests using the MsTest runner. Y

Categories : Tfs

How do you edit Lab Process Settings in a Lab Management template?
You are most likely running TFS update 3 which changed the back-end of TFS to create work items for both the Test Plan and Test Suites now. There is something odd going on in your project, it may be that you have not "enabled" the features on the project so those things are done behind the scene. To verify this, go the TFS portal and click on the little gear in the right hand corner, then click

Categories : Tfs

Team Foundation Server best practice, branch "common" project or grant permission?
The best practice is to use NuGet. Create NuGet packages for each of your common libraries and use the package manager to use them. This way, the "release" of the Common Library would be formalised. If you are adding features to your common libraries, you can make a conscious decision to increment release version and the clients can decide whether they want to upgrade or not. If you are going dow

Categories : Tfs

How to disable auto check out when I save or edit file tfs
In Visual Studio 2013, on the Tools menu, click Options. In the Options dialog box, click Source Control, and then click Environment. In the Checked In Items section, And in Editing- there are three options available. Select Do nothing and click OK

Categories : Tfs

Aggregating capacity for multiple teams in TFS
There currently is no solution. Team Capacity is not easily queryable, the UI has no option to do it and it's not part of the Data Warehouse. TFS kind of assumes that a team member is part of one team. And one team only. And have work flow to the team, instead of people swicthing between teams. I suggest you file a suggestion on Uservoice.

Categories : Tfs

How to exclude certain branches from git-tfs clone operation
You won't be able to exclude any branches during the clone operation. It's an all or nothing operation. Remember that branches in git (pointers to commits) are different to branches in TFVC (folders) so if you're not planning on pushing back changes to the TFVC repository afterwards then you can simply delete the branches you don't want by using git branch -D operation on each of the branches you

Categories : Tfs

My build time exceeds 8 hours - what to do?
pngcrush without the -brute option runs about 15 times as fast as "pngcrush -brute" but achieves nearly the same compression. The -brute option generally only squeezes the images a small fraction of a percent more, if any.

Categories : Tfs

Complete nuke all changes in visual studio and reset from TFS
If you have the Power Tools installed, call tfpt scorch /deletes /recursive /diff. That should make your local folder match the server exactly. You can also call tfpt treeclean, which will just delete any item that is not mapped to TFS. It won't update or replace any changed files though, like scorch will.

Categories : Tfs

TFSWeb project has no team room
To get a team room for a project, create a new team room (any name you like) and then add the project's default team as a room member. Once you do this, the team room will show up on the team project's home page. P.S. To add the default team to the room, use the "Manage users..." link and then choose to add a VSO/TFS Group. Search for "Team" in the selection to make finding the team(s) available

Categories : Tfs

Customize TFS Build to include only specific files
You want an incremental build, though I don't recall if it was supported back in TFS 2010. Try configuring the build to not clean the workspace. Set the "Clean Workspace" property in the "Basic" section to "None". Then, it will keep the binaries from the previous build, and, just like Visual Studio, will only build targets for which the inputs have changed.

Categories : Tfs

Accessing logs of TFS builds via script or folders
If you are running a drop folder as part of your build the log files will be dropped their, the path will always be. DropLocationBuildNameBuildlogs So you can work out where the log file will be created and use the DropLocation property to identify the path (Microsoft.TeamFoundation.Build.Activities.Extensions.WellKnownEnvironmentVariables.DropLocation in TFS2013)

Categories : Tfs

TFS2013 Scheduled Builds: Manually triggered Builds are not being accounted for when Scheduled Build are kicked off
I ran into this issue today as well. It seems this is currently "by design". Someone else posted a suggestion to "fix" this here: http://visualstudio.uservoice.com/forums/121579-visual-studio/suggestions/5702884--build-even-if-nothing-has-changed-since-the-previ

Categories : Tfs

How to check out changes from a code review in TFS
Yes. There is the option to Unshelve changes and that does exactly what you want.

Categories : Tfs

TFS Administrators getting TFS alerts for everything?
You have an alert configured that has the Team Project removed from the filter. This results in an alert that exists in a single team project being applied to everyone. If your open up the web access and go to the alerts administration page you should be able to list all of the alerts that are current configured and find the culprit.

Categories : Tfs

How to automate the download and installation of Sitecore update packages generated from TFS build?
In a perfect world you would use something along the lines of a fancy Microsoft Release Management to deploy it to the environment of choice. However, if you are like the majority of us mere mortals without the fancy tools - this should help: https://github.com/adoprog/Sitecore-Deployment-Helpers With these pages you could just send a get request from TFS or use the logic to write a custom Power

Categories : Tfs

TFS separate branch from parent
In the source control window select the branch you want to 'orphan'. Goto File > Source Control > Branching and Merging > Reparent... Then choose No Parent in the Dialogue and click Reparent

Categories : Tfs

TFS Build Template 2013 Nuget Restore is done before building all solution
This is good behavior. I would recommend that you separate the other solution into a separate build. That discrete build then builds and published your NuGet package. It makes no sense to combine...

Categories : Tfs

OpsHub Visual Studio Online Migration Utility not migrating all Work Item to changeset links from TFS2010
I have discovered that at least for my scenario, Work Item links are not migrated when the user who created the Work Item in the source TFS server is mapped to "Anonymous" user in VSO during migration. To work around this, rather than mapping all extraneous users to "Anonymous" I mapped them to an actual user.

Categories : Tfs

Who owns the workspace created by queueing a build in TFS
The Build Service account owns that workspace. You can use the (free) tool TFS Sidekicks to find and delete any workspace by any user in a nice GUI: http://www.attrice.info/cm/tfs/

Categories : Tfs

TFS Pipline for multi projects
Each set of code/projects that is released together should live in the same branch. If you have projects or sets of projects that are developed and released separately, it makes sense to have separate sets of branches.

Categories : Tfs

TFS - How to promote code to prod branch without merging
The correct way to merge is:- Set up a shared workspace that contains both branches (if you don't already have one) Get the latest Target branch code Get the latest Source branch code Merge from your Source to your Target using Latest Version and All Changes to a Specific Version Submit your Changes to Source To overwrite the target if you get conflicts, to ensure that the target is definately o

Categories : Tfs

Add members to Team Foundation Server 2012
You can't add non AD (local) users to TFS from another machine. You either add an AD and create all the users there or you create for all the users from other machines a local user on your 'server' again (which would be separate form their local users on their workstations). You could then add these users into a workgroup and assign that workgroup to the TFS projects to simplify things. But at th

Categories : Tfs




© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.