tfs

How do I get a list of document collections in a given TFS web extension?

ε祈祈猫儿з 提交于 2020-01-25 00:01:14
问题 I'm trying to get a list of documents from my on premises TFS 2017 (U3) web extension using Microsoft/vsts-node-api. I can get the extension itself with something like the following import * as v from 'vso-node-api'; import * as xa from 'vso-node-api/ExtensionManagementApi'; import * as xi from 'vso-node-api/interfaces/ExtensionManagementInterfaces'; let serverUrl = process.argv[2]; let extensionId = process.argv[3]; async function getWebApi(serverUrl): Promise<vm.WebApi> { return new Promise

Avoid accidental overwrite between different developers upon checkin or merge

倾然丶 夕夏残阳落幕 提交于 2020-01-24 11:34:25
问题 Different developers check in the code touching the same file or different branches could be getting merged. I am new to TFS from the admin side but I do know how to do basic check-in of the code. How can I avoid the code collision from admin side? We are using Microsoft Team foundation server as version control. 回答1: Version control systems are made to allow different users to edit the same files and so that when merging, it provides a reasonable experience upon merge. The ability to check

completely archive a TFS2012 project

佐手、 提交于 2020-01-24 05:28:04
问题 In TFS 2012 what is the best practice to fully archive a TFS project? Our TFS database has gotten ridiculously large and we need to start archiving things (but of course we do not want to loose anything). I would like to take an abandoned project form the TFS server and completely back it up to an external drive with all its files and its history, workitems and build definitions and then remove all of that from the TFS server. If an abandoned project needs to be reactivated, I would like to

Are there any way to Sign Clickonce application when building with TFS online services?

老子叫甜甜 提交于 2020-01-24 05:14:11
问题 I have enabled signing in my click once application. But the build server (TFS online services) do not have the certificate. Is there any way I can include the certificate in the repositiory and make the build server sign it or do I have to disable signing and do it manually after? Instead of picking a cert from the store I checked in a file and picked from file instead. Build server then gives me: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets (2482): Cannot import

Is there a way to add tags programmatically to TFS Work Items?

荒凉一梦 提交于 2020-01-23 17:38:38
问题 I want to be able to mass update work items with a certain tag programmatically. Is there currently a way to do this? I've checked the workitem class and have seen that there is a tags property that is readonly. Is there another way to accomplish this through code? Best, Michael 回答1: Editing of Tags through the API and Excel is supported as of 2013.2. I would recommend that you update to the latest version of TFS to get that and tones of other fixes. As mentioned by Brian Harry: Work Item

How to authenticate to https://tfspreview.com (MIcrosoft-hosted TFS) using Java command line application?

三世轮回 提交于 2020-01-23 09:13:06
问题 I am trying to access https://tfspreview.com SOAP interface from my command line Java app. Unlike the on-premises TFS services, this one uses Live ID authentication, which makes causes the communication to fail with a 302 redirect to their authentication service. I have no idea how to proceed with authenticating there. Any pointers? 回答1: < tl;dr > You can use Basic authentication to provide a headless experience to Team Foundation Service. Also, if you're not using the TFS SDK for Java, it

TFS Build Controller : “Could not load file or assembly 'Microsoft.WindowsAzure.StorageClient, Version=1.7.0.0”

↘锁芯ラ 提交于 2020-01-23 00:42:48
问题 As you know that your TFS Preivew does not support for Azure SDK 1.8 so We are using On-permises TFS build controller to build our project. During Azure Continous Inegration deployment build we are getting this error ======================================== Exception Message: Could not load file or assembly 'Microsoft.WindowsAzure.StorageClient, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. ===========

Build Agent is Offline

孤者浪人 提交于 2020-01-23 00:30:15
问题 I m using TFS 2015, I saw that my build Agent is Offline : I launch the VsoWorker.exe to see the logs and understand the error, Here is what I get but I found nothing from the internet : Any Idea please ? 16:07:57.649004 Sending trace output to log files: C:\Users\Administrator\Downloads\agent\_diag 16:07:57.649004 vsoWorker.exe was run with the following command line: "C:\Users\Administrator\Downloads\agent\Agent\Worker\VsoWorker.exe" 16:07:57.649004 VsoWorker.Main(): Create AgentLogger 16

Build Agent is Offline

别说谁变了你拦得住时间么 提交于 2020-01-23 00:30:14
问题 I m using TFS 2015, I saw that my build Agent is Offline : I launch the VsoWorker.exe to see the logs and understand the error, Here is what I get but I found nothing from the internet : Any Idea please ? 16:07:57.649004 Sending trace output to log files: C:\Users\Administrator\Downloads\agent\_diag 16:07:57.649004 vsoWorker.exe was run with the following command line: "C:\Users\Administrator\Downloads\agent\Agent\Worker\VsoWorker.exe" 16:07:57.649004 VsoWorker.Main(): Create AgentLogger 16

Where should you store 3rd party assemblies?

萝らか妹 提交于 2020-01-22 19:55:06
问题 Okay, so we have a rather large solution with about 8 different projects inside it. Each of these projects depend on various different 3rd party assemblies. This solution is in the trunk branch of source control. We also have about 5 different branches off of trunk. What is the best way to manage these 3rd party assemblies? When you add a reference to an assembly and then click it and view the properties window I notice that it has a hard coded path to the assembly. For example: All our