tfs2013

Disable git in Visual Studio 2013

假如想象 提交于 2019-12-03 06:57:46
问题 I have a repository that is managed by tfs. However locally I would like to manage it via git and the push changes to tfs. Once I'm creating git repo over there VS2013 in team explorer shows this solution managed by git only. If I try to edit any file it complains that file is read only only I cannot save it in a previous version. So my question is there any way for Visual Studio 2013 to forget about git at all and manage it as tfs repository. I can manage git from command line. Or is there a

How to pass build parameters and other information to powershell script in TFS2013 build?

。_饼干妹妹 提交于 2019-12-03 06:01:21
问题 I am using default build template with TFS 2013, how i can access build parameters (for example, changeset number under build, build directory, source paths, tfs address, agent information...) from powershell script? Example situation: I want to rewrite all assembly info version informations on Pre-Build script where last part of version number is changeset number, i can probably get changeset with tf.exe commands inside of script but i isn't only thing which i want to know from build agent

How do we connect to TFS from all Git repositories in a Team Project?

自闭症网瘾萝莉.ら 提交于 2019-12-03 03:26:21
I'm running the latest Visual Studio 2013 Ultimate at work with Update 1. We have the latest Team Foundation Server 2013 as well. Several of us are very excited about the new Git repository integration, but there appears to be a pretty big limitation. We want to add multiple Git repositories to a single Team Project and be able to access the Builds and the Work Items from Visual Studio 2013. It currently only works if your Git repository is named the same as the Team Project. This is also a limitation for Visual Studio Online as well. My open source SourceLink project only shows Work Items and

VSO: Single project with a tiered area structure?

眉间皱痕 提交于 2019-12-03 03:21:01
Historically we have always had separate VSO Projects for each logical project undergoing development. This is particularly important as we need to have separate backlogs for each project. Each project has its own Product Owner. We have a team of around 10 developers who work between these projects over 2 week sprints. This setup has led to some serious issues when using VSO's Scrum tools: Multiple burndown, cumulative flow and velocity charts Split team member capacity during sprints This has made it very difficult to monitor work progress during sprints and to plan effectively for the next.

TFS 2013 Throws Lib2GitSharp Error During Build/Deploy (Intermittent)

自闭症网瘾萝莉.ら 提交于 2019-12-02 23:36:25
For a while now, I have been having an issue with Team Foundation Server build/deploy process throwing the following error intermittently: Unhandled Exception: System.TypeInitializationException: The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw an exception. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) at LibGit2Sharp.Core.NativeMethods.git_threads_init() at LibGit2Sharp.Core.NativeMethods.LibraryLifetimeObject..ctor() at LibGit2Sharp.Core.NativeMethods..cctor() --- End of inner

Creating a Task Board Template

血红的双手。 提交于 2019-12-02 22:22:25
问题 The basic idea is that I want to be able to say make a new contractor taskboard master template. I'll have an iteration path called Contractor Integration. Inside it would be a master template where it has 4 stories and 10 tasks per story. I would like to be able to use this template for every new person that comes through by just changing the name it is assigned to. So it would need to pretty much make a clone of the 4 stories and 10 Tasks to be assigned to a new person every time I get a

NuGet auto-package restore just will not work for me on my build server

别说谁变了你拦得住时间么 提交于 2019-12-02 17:04:58
问题 I'm at wits end here. I've tried everything I can find to get NuGet to restore my packages on the TFS build server and nothing seems to work. (The latest changes I checked in I got here). I have read a lot about problems with older versions of the Build Process Template, so I just changed the build to use TfvcTemplate.12.xaml and still no packages are restored. This latest change (from the link above) had me delete the NuGet.targets file and now I get an error saying: This project references

How can I add FTP website deployment to a VS2015/TFS2013 build process

孤者浪人 提交于 2019-12-02 16:19:30
问题 I have a successful build operating. Now I would like to have the build definition publish the site to my staging location. I tried to use a publishing profile that functions correctly from within Visual Studio but that doesn't seem to work with this unique combinations of Visual Studio and TFS. These are my MSBuild arguments: /tv:14.0 /p:DeployOnBuild=true /p:PublishProfile="profileName.pubxml" And this is the error returned from the build: C:\Program Files (x86)\MSBuild\Microsoft

TFS API to create a TFS Group and set permissions?

天涯浪子 提交于 2019-12-02 15:06:57
问题 Hello I'm trying to use TFS API to create a new group, for it I have this code: var teamProjects = this.VersionControlServer.GetAllTeamProjects(false); foreach (var teamProject in teamProjects) { var result = _gss.CreateApplicationGroup(teamProject.ArtifactUri.AbsoluteUri, "NewGroup","TestDescription"); //NOW I WANT TO SET THE PERMISSIONS FOR THIS GROUP } As I need to set the permission "Edit project-level information" for this group I tried lot of methods and different approaches, but

How do I query tags from the TFS database?

别等时光非礼了梦想. 提交于 2019-12-02 12:59:26
问题 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. 回答1: 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,