tfs

Fetching multiple TFS git repo sources with git submodules

怎甘沉沦 提交于 2021-01-28 19:17:36
问题 I'm facing an issue while trying to access different git sources in TFS Build. I have 2 repos Test1 & Test2 - https://tfs.org.com:8080/tfs/collection/project/_git/Test1 (& Test2). Under Test2, I added a sample.txt & .gitmodules file. .GitModules file has a cmd - git submodule add https://tfs.org.com:8080/tfs/collection/project/_git/Test1 (Since I want to checkout Test1 contents too while triggering Test2 repo) Now in Build def (which builds Test2) I checked the option (Checkout Submodules) -

Add other domain user in TFS server

好久不见. 提交于 2021-01-28 14:07:05
问题 I have a two domain named domain1.in and domain1.in. Now i installed and create a collection project in domain1.in server. I would like to add the domain2.in user in domain1 TFS. I don't know whether its possible or not. Please help me. 回答1: You need to have a trust relationship setup between domains. Specifically, domain1 needs to trust domain2. Here's an MSDN article on setting up trust in AD: http://technet.microsoft.com/en-us/library/cc738617(v=ws.10).aspx 来源: https://stackoverflow.com

Checkout issue in tfs

依然范特西╮ 提交于 2021-01-28 11:32:39
问题 i have added a workspace(c:/users/aparna/workspace)and checked out the codes there. Due a mapping issue i changed the workspace, that is i created a new one (d:/noscript). When i tried to check out the project modules to this new workspcae from tfs, it is already mapped to the old workspace. When i open new workspace folde, .metadata and remotesystemTempFiles are seen. Projects modules still resides in old workspace. When i open eclipse by selecting new workspace, i got all project modules

Has the TFS plugin for Jenkins been removed?

折月煮酒 提交于 2021-01-28 11:26:51
问题 I have been using Jenkins with the TFS plugin for several years but after installing Jenkins on a new machine, it seems that the TFS plugin cannot be found in the update center. All the other plugins that I could search for seem to work but not TFS, as if it had been deleted from there. I have tried using both jenkins-lts and jenkins weekly on two separate machines (both macs). This is the plugin I am talking about: https://github.com/jenkinsci/tfs-plugin The old wiki page for it also seems

How to set up the Team Foundation Server repository in vs code?

僤鯓⒐⒋嵵緔 提交于 2021-01-28 06:32:40
问题 I'm using visual studio code version 1.26.1 for angular projects. Right now I'm using source control GIT. But I would like to change this to Team Foundation Server. So that I have installed the Visual Studio Team Services. Once after that, I have done the following things: Open File -> Preferences -> Settings Add the following lines to your user settings { "tfvc.location": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Enterprise\\Common7\\IDE\\CommonExtensions\\Microsoft\

Retrieve the list of Tasks for Build Definition using .NET client libraries for VSTS/TFS

懵懂的女人 提交于 2021-01-28 06:11:08
问题 I'm using the .NET client libraries for VSTS/TFS (https://docs.microsoft.com/en-us/vsts/integrate/concepts/dotnet-client-libraries?view=vsts) to retrieve a list of tasks for all Build Definitions for all Team Projects. I'm using the v16.139.0-preview version of the NuGet package Microsoft.TeamFoundation.ExtendedClient (I need to because I need to retrieve Release Definition workflow as well for which you need Microsoft.VisualStudio.Services.Release.Client which has a dependency requirement

SASS/TFS best practice

萝らか妹 提交于 2021-01-28 06:08:34
问题 I got my workplace to agree to using SASS/Compass and we work in ASP.NET MVC3 with a TFS server. My concern is when the 3 of us front end developers are working on the same site at the same time writing SASS it's going to cause issues. Does anyone else have workflow experience using SASS and TFS? What kind of issues did you run into? How did you solve them? Suggestions would be very appreciated 回答1: I would recommend not checking the resulting css file into source control, but to use the

TFS write string message to build summary

强颜欢笑 提交于 2021-01-28 06:01:05
问题 I want to write string message to TFS build summary. I have a Powershell task with variable $output = $(Build.SourcesDirectory)\scripts\SCRIPT_NAME.ps1 $output that holds ===== Numb. of files for patch in: Win32 = 2 Win64 = 123 --- Numb. of original files: Win32 = 0 Win64 = 12 ===== that scheme is a whole message, now I just want to display it in a place that picture below points or in any other section as long as it is in "Summary" I took a look on this Stack question but it answers how to

TFS2015 tbl_Content increase

好久不见. 提交于 2021-01-28 05:38:44
问题 In the last two months we started using the vNext builds and releases (5 build/release definitions). This month we noticed an increase of the collection database (from ~5GB to 25GB). I deleted and destroyed all builds of the XAML build definitions and I deleted all builds older than yesterday for the vNext build definitions. Running the below SQL script: select DATEPART(yyyy, CreationDate) as [year], DATEPART(mm, CreationDate) as [month], count(*) as [count], SUM(DATALENGTH(Content)) /

Adding author name automatically in C#

拈花ヽ惹草 提交于 2021-01-28 05:36:40
问题 I want to add creator name into when all .cs and .xml files created. So I could use Eclipse as follows, but I cannot use this in Visual Studio Window -> Preferences -> Java -> Code Style -> Code templates /** * @author ${user} * * ${tags} */ I'm open to suggestions on how to do this. 回答1: You can change the template for your classes that can usually be found under: C:\Program Files (x86)\Microsoft Visual Studio version \Common7\IDE\ItemTemplates\CSharp\ Something like this: using System;