tfs

Is possible to pass a variable from a Build to a Release in TFS 2017?

拈花ヽ惹草 提交于 2020-01-04 06:56:29
问题 A Build definition has a custom variable that can be set when a build is queued. Is possible to have access to that variable from a Release in the same way that is possible to have access to variables like Build.DefinitionId, Build.DefinitionName, Build.BuildNumber ? 回答1: A custom build variable couldn't be used in your release definition. Here is an user voice that similar to your problem: https://visualstudio.uservoice.com/forums/330519-team-services/suggestions/14515326-project-level-build

Where to search for Microsoft.TeamFoundation.Framework.Client

守給你的承諾、 提交于 2020-01-04 06:27:16
问题 Hi does any of you know where can I find Microsoft.TeamFoundation.Framework.Client using nuget? I can't find it because I'm trying to create instance of TfsConfigurationServer . 回答1: These assemblies are shipped with visual studio for vs2013 located under the extensions tab. see the following for an example of how to use the .dll's in a console application http://msdn.microsoft.com/en-us/library/bb286958.aspx 回答2: The namespace "Microsoft.TeamFoundation.Framework.Client" is in the Microsoft

vs2015 keeps adding project.lock.json to tfs

Deadly 提交于 2020-01-04 06:07:50
问题 My folder structure is: -- Solution folder --- .tfignore file --- folder for each project But vs2015 keeps including my project.lock.json files in source control. In my .tfignore file, I added: project.lock.json I've tried undoing and deleting the files from source control. How can I stop it from including project.lock.json? 回答1: Simply update your VS to VS2015Update 3 . The .tfignore should be indeed working correctly. Or you can also use a temporary quick fix for the problem: Add an $ char

will adding .gitconfig in repository override my global .gitconfig file configurations?

爷,独闯天下 提交于 2020-01-04 05:32:26
问题 I am having my project hosted in TFS-GIT server. I am having an issue with pull request merges on TFS . one option is to update git configs on TFS server itself to make "merges --no--ff" because of time crunch and other issues that cannot be done sooner . I am looking for a workaround for this issue If i add .gitconfig file to the repository with merge .ff and pull.ff to false will that override configs applied at repository level ? will that work like that with git? Any help is greatly

Automatically change a field based on another in TFS

牧云@^-^@ 提交于 2020-01-04 05:20:09
问题 Is it possible to change a value of field based on the value of another field in TFS? What I'm trying to do is, when the value of the Story Points field changes, update automatically another field with the correspondent T-Shirt size value. For example, we are using power of 2 values to represent the story points; So, for a 1 points story it would correspond a t-shirt value of XS, for a 2 points story a t-shirt value of S, and so on. Is this possible? 回答1: Use a combination of WHEN conditions

TFS 2015 Build log displaying associated changes from other project

早过忘川 提交于 2020-01-04 03:55:06
问题 I am pretty confused over this. My build log is displaying the build result but in the Associated changes & Associated work items area it's displaying all the list form every other projects. For example, I am the only developer working on a small project and I get the below Build log for my build where the blue coded changeset is my project and Red & Green changesets are different projects by different teams Any clue anyone? 回答1: Thanks to @DaveShaw the solution is as follows. Initially my

SQL Server Scripts 2012 Project into Team Foundation Server 2012

▼魔方 西西 提交于 2020-01-04 01:51:49
问题 I have a SQL Server Scripts 2012 Project with multiple SQL queries and stored procedures. We use Team Foundation Server 2012 to manage our source code for our Visual Studio Solutions. How can I check in a SQL Server Scripts 2012 Project into TFS? If it is not possible how can I manage source control on this and allow multiple developers access to it? 回答1: You have a few options, here are two that I have used. 1: Download the TFS 2012 MSSCCI Provider: This plugin allows you to access TFS from

Why do empty folders disappear when adding Visual Studio solution to TFS?

倾然丶 夕夏残阳落幕 提交于 2020-01-04 01:36:08
问题 I have this Visual Studio solution that includes a project that has a template folder tree consisting of several empty folders. When I add this solution to Team Foundation Server (TFS) using the "Source Control -> Add Solution to Source Control" menu item it doesn't add the empty folders to the TFS repository! I really need those folder to be present when the code is downloaded from TFS. Now, I know I can create the folder structure using Source Control Explorer, but since the whole project

Access TFS and visualstudio online REST Api in Electron/angularjs app

半城伤御伤魂 提交于 2020-01-03 19:29:11
问题 Whats the best way to integrate with TFS and visual studio online in Electron, using angularjs? The users can provide username, password, and URL for the server, and I want to get projects, tasks, move tasks between states, create new items etc I have a project using angularjs and electron. I want to get my projects, tasks etc from Microsoft Team foundation server (installed on-premise) and visual studio online too. I found documentation about basic auth and oAuth to do this, but I guess

Programatically checking files into TFS getting more than expected

你。 提交于 2020-01-03 18:49:08
问题 So I have a .NET app which goes thru and generates a series of files, outputs them to a local directory and then determines if it needs to update an existing file or add a new file into a TFS (Team Foundation Server) project. I have a single workspace on my local machine and there are 10 different working folders that are other coding projects I have worked on from this particular machine. My problem happens when I go to check if the file already exists in the TFS project and an update is