tfs2013

How to make legacy extension (tfs2013) work in tfs2015 update 2?

北战南征 提交于 2019-12-02 10:33:23
问题 We had this extension working under tfs 2013 that simply hides the quick add panel for backlog items (see code below). The code stopped working after we updated the server to tfs 2015.2. The new framework for VSTS extensions cannot be used (see previous question) Here is the javascript code (HideAddPanel.js): TFS.module("HideAddPanel", [], function () { }); $(function () { $bLogTitleValue=$(".team-name").text(); if ($bLogTitleValue.toLowerCase().indexOf("ticketmaster") >= 0) { $(".panel

How do I query tags from the TFS database?

本小妞迷上赌 提交于 2019-12-02 06:34:35
I am writing some custom SSRS reports for our QA teams and I need to add test case "Tags" to my query. It is my understanding these are not in the TFS_Warehouse. I have found dbo.tbl_TagDefinition in the operational store but cannot figure out how to join it to a work item. Cece Dong - MSFT You can add a tag to work item query directly if your TFS contains the updates added with TFS 2013 Update 2 or later. If you want to query from database, check this case : TFS 2013 and up: SELECT DISTINCT workItem.ID, tbl_TagDefinition.Name --,tbl_PropertyValue.ArtifactId, * FROM tbl_TagDefinition LEFT JOIN

Make Changes to a TFS Work Item as a specific user

谁都会走 提交于 2019-12-02 06:25:01
问题 I am working on creating a Web application, which the users in my team will use to make changes to TFS Work Items. I am using TFS API for this.. In order to access the TFS Server , I used my credentials within the Web Application. Now each time someone uses the application and makes changes to TFS work items, it shows as if I have made changes to these items since my credentials are being used in the application. Is there a way I can use the credentials of the person logging into my

Migrating source code from TFS to VSTS

ε祈祈猫儿з 提交于 2019-12-02 05:59:51
问题 I am trying to migrate Source code from TFS to VSTS. I tried git-tf command to migrate and was able to migrate successfully but i am not able to migrate the history. Can someone guide me on what i am doing wrong. Please note i am not migrating to GITVC but migrating to TFVC in Visual studio from On premise TFS server. Steps are ... git-tf clone http://onprimisetfsurl/ $/project project git-tf clone http://Visualstudiotfvcurl/ $project project1 git pull project1 into project git-tf checkin -

How to make legacy extension (tfs2013) work in tfs2015 update 2?

╄→гoц情女王★ 提交于 2019-12-02 05:20:44
We had this extension working under tfs 2013 that simply hides the quick add panel for backlog items (see code below). The code stopped working after we updated the server to tfs 2015.2. The new framework for VSTS extensions cannot be used ( see previous question ) Here is the javascript code (HideAddPanel.js): TFS.module("HideAddPanel", [], function () { }); $(function () { $bLogTitleValue=$(".team-name").text(); if ($bLogTitleValue.toLowerCase().indexOf("ticketmaster") >= 0) { $(".panel-region").hide(); } else { $(".panel-region").show(); } }); Here is manifest.xml <WebAccess version="12.0">

How to get all Iteration Paths with a TFS API 2013

那年仲夏 提交于 2019-12-02 04:46:15
问题 I have been using the TFS API libraries for some time and have been using the follwoing code when interfacing with TFS 2010 to get the Iteration Paths (code from this page)... public IList<string> GetIterationPaths(Project project) { List<string> iterations = new List<string>(); foreach (Node node in project.IterationRootNodes) AddChildren(string.Empty, node, iterations); return iterations; } private void AddChildren(string prefix, Node node, List<string> items) { items.Add(node.Path);

How to get nuget restore in TFS build

你说的曾经没有我的故事 提交于 2019-12-02 02:52:38
I can't make it work TFS build. It is nuget restore issue. Nuget is not restoring reference dll files. Here is belwo my build configuration. Please advise me how I can make this works. As per this blog post on Nuget's website you can use the command line you mentioned, but it has to be part of a custom target using a Build.proj file. You need to add a Build.proj and put this as the contents: <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <OutDir Condition=" '$(OutDir)'=='' ">

Make Changes to a TFS Work Item as a specific user

爱⌒轻易说出口 提交于 2019-12-02 02:44:56
I am working on creating a Web application, which the users in my team will use to make changes to TFS Work Items. I am using TFS API for this.. In order to access the TFS Server , I used my credentials within the Web Application. Now each time someone uses the application and makes changes to TFS work items, it shows as if I have made changes to these items since my credentials are being used in the application. Is there a way I can use the credentials of the person logging into my application to show up on TFS as the person making the changes ? MrHinsh - Martin Hinshelwood You need to use

NUnit failed to load in TFS build

随声附和 提交于 2019-12-02 02:12:34
I’m having a "build partially succeeded" issue with this error “NUnit failed to load e:\Builds\184\CSTax\706USServices_Test\bin\Calc.Tests.dll”, but all of the unit test in this project ran and passed (all green). Build environment 1) Using NUnit 2.6.4 and NUnit Test Adapter 2.0.0 2) TFS 2013 – upgraded from 2012 3) Visual studio 2012 and 2013 have been installed on the server 4) I did install the NUnit Test Adapter, using the Extensions and Updates in 2013 Visual Studio 5) Using build process templates from TFS 2012, even if I switch to the 2013 default build process templates I get the same

How to get nuget restore in TFS build

北城以北 提交于 2019-12-02 02:06:05
问题 I can't make it work TFS build. It is nuget restore issue. Nuget is not restoring reference dll files. Here is belwo my build configuration. Please advise me how I can make this works. 回答1: As per this blog post on Nuget's website you can use the command line you mentioned, but it has to be part of a custom target using a Build.proj file. You need to add a Build.proj and put this as the contents: <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns=