tfs

Creating a new Team Project using the REST api

五迷三道 提交于 2021-01-27 23:52:37
问题 Ive been banging my head against this all week. Creating a new Team Project using the REST api. Everywhere i look, the response is the same, and it always involves using command line and xml. But why? On the visual studio online pages this can be found: https://www.visualstudio.com/en-us/integrate/api/tfs/projects (Specifically looking at the part labelled "Create a team project") So why does this exist if it cant be used? Or am i missing something? If anyone knows any examples of using this

How to use service account to impersonate users in Azure Devops

大兔子大兔子 提交于 2021-01-27 21:50:36
问题 I created a service account to impersonate users in my organization in order to make changes to work items in the users’ name. I already added that service account to the group “Project Collection Service Accounts”, which has “Make requests on behalf of others” set to “Allow”. The service account has Visual Studio Subscription. I then used my code, which is working with our on-premise TFS, to execute the impersonation and I got an error 500 saying that “Access Denied: X needs the following

No test result files were found using search pattern '…\**\TEST-*.xml

那年仲夏 提交于 2021-01-27 21:27:25
问题 I am running my test in TFS (Nunit plus Visual Studio with Adapter) and I have set the build definition as below Build succeeds but no test result file was generated Does TFS writes this Xml file ? Log 2017-02-08T08:08:40.8151428Z Executing the powershell script: D:\A1\agent\tasks\PublishTestResults\1.0.20\PublishTestResults.ps1 2017-02-08T08:08:41.0963795Z ##[warning]No test result files were found using search pattern 'D:\A1_work\1\s**\TEST-*.xml'. 回答1: If the Nunit plus Visual Studio with

Jenkins TFS plugin throws NumberFormatException

╄→尐↘猪︶ㄣ 提交于 2021-01-27 20:32:26
问题 When I do a poll from Visual Studio Online using the Jenkin TFS Plugin I get the following message and exception. I use TEE-CLC on Ubuntu 12.10. No history entries were found for the item and version combination specified. FATAL: For input string: "" java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:200)

Can I add Active Directory to Team Foundation Server afterwards

故事扮演 提交于 2021-01-27 20:30:44
问题 I've been wanting to use Team Foundation Server at work. We have a MSDN subscription that includes TFS. The company has a server here at my current location that is not on the company network but has access to the internet (it's own internet connection with a static IP) I'm curious if it is possible to set me and the other developer up with a temporary account on TFS2013 so that we can use the server while it is still here. Then when it gets moved to its new home and gets added to the domain

Credential storage failed in eclipse in Mac OSX

左心房为你撑大大i 提交于 2021-01-27 17:04:13
问题 When i'm connecting to server projects in tfs using eclipse in mac with my credentials it is connecting without any issues, but when i check the 'save password' at the login dialogue box it is showing an error as 'Credential storage failed (Could not save your credentials)' Is there any way to get rid of this, because I don't want to enter my username and password every time when I open eclipse. See the following images. . . Any comments or suggestions would be appreciated. Thank you in

Credential storage failed in eclipse in Mac OSX

拥有回忆 提交于 2021-01-27 17:01:10
问题 When i'm connecting to server projects in tfs using eclipse in mac with my credentials it is connecting without any issues, but when i check the 'save password' at the login dialogue box it is showing an error as 'Credential storage failed (Could not save your credentials)' Is there any way to get rid of this, because I don't want to enter my username and password every time when I open eclipse. See the following images. . . Any comments or suggestions would be appreciated. Thank you in

Using TFS command line tf.exe how can I copy a repo to a folder location of my choice?

北城余情 提交于 2021-01-27 14:27:48
问题 I have stared using TFVC for my MSVS 2015 C++ project. I am used to command line repos like git/svn, where I can simply do a checkout/clone, etc... and copy the files to any folder I like. So, I have checked out my workspace to a mapped location (c:\myworkspace) via the MSVS2015 GUI. But now I want to to run my auto test script, which will copy the latest files from the repo to the current directory (e.g. c:\autorun). The auto test script builds and tests and generates results etc... But I

TFS Build 2.0 C#, howto add variables to the build/Pass Msbuild args

﹥>﹥吖頭↗ 提交于 2021-01-27 05:47:01
问题 I am trying to pass arguments to MSBuild 2.0. After research it appears that I need to do this using variables, but I cannot figure out how to incorporate this into my queue request below. I have tried parameters but that does not seem to work. Here is what I am trying to tell MSBuild @" /p:OctoPackPackageVersion=" + releaseNumber. This worked with the XAML build using IBuildRequest.ProcessParameters. var buildClient = new BuildHttpClient(new Uri(collectionURL), new VssCredentials(true)); var

TFS Build 2.0 C#, howto add variables to the build/Pass Msbuild args

北城余情 提交于 2021-01-27 05:46:30
问题 I am trying to pass arguments to MSBuild 2.0. After research it appears that I need to do this using variables, but I cannot figure out how to incorporate this into my queue request below. I have tried parameters but that does not seem to work. Here is what I am trying to tell MSBuild @" /p:OctoPackPackageVersion=" + releaseNumber. This worked with the XAML build using IBuildRequest.ProcessParameters. var buildClient = new BuildHttpClient(new Uri(collectionURL), new VssCredentials(true)); var