tfs2012

TFS 2012 automatically build projects that depend on current one

…衆ロ難τιáo~ 提交于 2019-12-06 09:44:31
Ok so I have to admit, I'm very new to all of this build automation stuff. But basically what I'm wondering is if there is a way to wire up my build definitions in such a way that if I have a case like so ProjectA produces ComponentA.dll ProjectB references ComponentA.dll and produces ComponentB.dll ProjectC references ComponentB.dll then when I make changes to ProjectA and check them in, the build process would automatically also build ProjectB, and finally ProjectC, and report any errors. So is there a way to accomplish this, or should this type of thing be handled somehow completely

TFS2012 Wrong user missing workspaces

淺唱寂寞╮ 提交于 2019-12-06 08:04:05
I have a very unusual issue with TFS2012, We've just migrated across domain and upgraded from TFS2010 to TFS2012. All seems to work apart from one user, who we don't seem to be able to get his workspaces to work. When I make a connection to the TFS Server, I enter the server name and port number, this connects, but in the 'Connect to Team Foundation Server' window, bottom left it shows my login credentials, even though the user logged in is categorically the user, he gets all my tfs administrator permissions. If we connect, it shows a workspace, MB2, this workspace doesn't exist anywhere in

TFS 2012 Build Definition for web deployment ignores parameters defined in project files

怎甘沉沦 提交于 2019-12-06 07:40:59
问题 I'm trying to set up a TFS 2012 build definition that will build a solution and deploy several web apps within the solution. I came across this article that seems to address exactly what I'm trying to do and also seems to agree with the solution mentioned here. So I tried implementing the build definition/project configuration as described in that article, but no matter what I do, it seems to be ignoring the parameters I put in the specific configuration property group of the csproj files

TFS Lab management Deployment Scripts

扶醉桌前 提交于 2019-12-06 06:26:30
I'm trying to setup Standard Lab Environment with TFS 2012 utilizing Build-Deploy-Test workflow. I setup test controller and test agents but when the LabManagement workflow starts executing I get an exception on RunDeploymentTask activity Initial Property Values BuildLocation = \\S0503TFS2T\TFSPlayground\ConsoleApplicationBuild\ConsoleApplicationBuild_20121210.23 DeploymentScriptDetails = agent1 | "$(BuildLocation)\Deploy.bat" $(BuildLocation) | c:\Env LabEnvironmentUri = vstfs:///LabManagement/LabEnvironment/4 MaxWaitTime = 00:30:00 ThrowOnError = True UseRoleForDeployment = True Deployment

Why can't I view the MyWork pane in TFS plugin for VisualStudio 2012 when using Microsoft Git Provider?

元气小坏坏 提交于 2019-12-06 06:08:46
问题 Since I installed the Microsoft Git Provider for full integration with my (Git controlled) projects hosted on tfs.visualstudio.com , the My Work pane on the TFS Plugin for VS2012 (I'm using VS2012 Ultimate by the way) doesn't show up anymore. But when I change the Source Control plugin on VS Options to: None or Visual Studio Team Foundation Server (which is not my source control provider), the My Work pane appears again. Why can't I have access to this My Work pane (which gives much faster

How to get the name of all projects in a TFS collection?

懵懂的女人 提交于 2019-12-06 02:45:24
On how to get the collections from TFS refer here Please refer here for more details. This is one of the best resources on TFS stuff. The collection guid is passed in and the list returns the name of all projects in that particular collection. public IList<string> GetProjectsFormCollection(Guid collectionId) { ICommonStructureService structureService = null; try { TfsTeamProjectCollection teamProjectCollection = _configurationServer.GetTeamProjectCollection(collectionId); teamProjectCollection.Authenticate(); structureService = (ICommonStructureService)teamProjectCollection.GetService(typeof

Can't create Team project in tfs 2012 using visual studio 2010

浪尽此生 提交于 2019-12-06 00:12:16
I install TFS 2012 and I have visual studio 2010. I already create team collection but I can't create team project. Error message {you don't have permission create team project} but I give all permission to current user. Some of the Administration activities will not work when you are using lower version of Team Explorer client. You need to install Team Explorer 2012 or Visual Studio 2012 to create new team projects. 来源: https://stackoverflow.com/questions/11406400/cant-create-team-project-in-tfs-2012-using-visual-studio-2010

How to delete a work item in TFS 2012?

此生再无相见时 提交于 2019-12-05 20:34:09
问题 This has been asked before but I'm struggling to find a way to delete a work item in Team Foundation Server. This looks promising: http://devmatter.blogspot.co.uk/2009/04/deleting-work-items-in-tfs-ui.html. But no luck with it so far. First tried the following command: witadmin destroywi /collection:"https://<<my TFS collection>>" /id:1223 It returned Unable to destroy work item(s) 1223. TF237090: Does not exist or access is denied. Unfortunately I can't download the "Delete Work Item"

What is the “deployed” tab for in TFS 2012 Web Access

左心房为你撑大大i 提交于 2019-12-05 14:49:41
I have several build definitions setup in TFS 2012. They all use Web Deploy and Web Packages and deploy to my dev and test servers and work just fine. I can't, however, figure out what the "deployed" tab in TFS Web Access > Builds is used for? The 'deployed' tab seems to be related to Azure integration somehow. I found this post on the TFS Deployer website. It's even possible to mark a build as 'deployed' via PowerShell, which seems quite interesting. It would be nice to have our deployed builds showing in that tab, and by integrating with TFS Deployer this seems possible. 来源: https:/

Chutzpah running Jasmine in TFS 2012 can't find referenced file under test

帅比萌擦擦* 提交于 2019-12-05 14:13:33
I am using Chutzpah to run our Jasmine tests. I have added the Chutzpah dlls to the solution and updated the build to run *.js tests. The project structure is as follows: MyApp.Web Scripts App Home DateControl.js MyApp.Web.Tests Scripts Jasmine lib Chutzpah (dlls) Spec App Home DateControlSpecs.js The Jasmine test file uses a reference tag to reference the file to be tested /// <reference path="../../../../../../App.web/scripts/app/home/datecontrol.js" /> The Jasmine tests are run however I get the following error: ReferenceError: Can't find variable: dateControl in file dateControl is the