tfs2010

TFS 2010 - Deploy to Multiple Servers After Build

半世苍凉 提交于 2019-12-03 07:46:21
I've configured TFS 2010 to do a build and utilizing the MSBuild arguments, have it deploying to a single server without any issues. /p:DeployOnBuild=True /p:Configuration=Development /p:DeployTarget=MSDeployPublish /p:MSDeployPublishMethod=RemoteAgent /p:MsDeployServiceUrl=http://<insert>/msdeployagentservice /p:username=<insert> /p:password=<insert> However, I am now to the point where I'd like to deploy to multiple machines after a build. I wasn't sure if there were some built in mechanisms for doing this, or should I invoke a process to launch a batch file that does this deployment

After upgrading solution to .NET framework 4.5 the daily deploy stopped working

别说谁变了你拦得住时间么 提交于 2019-12-03 07:39:27
We have with success been updating our development web site at a daily basis using msdeploy from TFS2010. This was working fine until we upgraded to VS2012, our application from .NET Framework 4.0 to 4.5 and ASP.NET MVC from 3.0 to 4.0. It look like all is well and assemblies deployed but nothing has actually been deployed. I have been looking into this for two days now and can't figure out why this is happening and now I am running out of ideas. Below is part of my build script in the way it has been working before the upgrade. <MSBuild Projects="$(SolutionRoot)\My.Web\My.Web.csproj"

TFS 2010: history lost after moving a folder

不羁的心 提交于 2019-12-03 06:45:52
问题 In order to clean up my project structure, I moved a folder into another (new) folder through the TFS Power Tools Shell-Extension (Rename/Move). After checking the history at the new place, the move is the only entry. (I tried one folder up, down, even on single files in the moved folder.. same result.) I had also put on some labels on versions of the folder before the move, since there were some important states of the code I wanted to get back to. So.. what went wrong, and how can I either

TFS2010 - Wrong changeset appearing at SourceGetVersion

时光怂恿深爱的人放手 提交于 2019-12-03 05:47:18
问题 I am currently setting up a Team Foundation Server 2010 and I found a very strange behavior when performing a build: The situation explained: We have 2 Branches Development Main All developers check in code into the Development branch only. Once per day, the build manager merges some changesets over to the Main branch. On the Development brach, a continuous build at each check in is running. On the Main branch, once per day (in the night) a build is triggered. Now suppose that the changesets

TFS API - How to fetch work item(s) from specific Team Project

一个人想着一个人 提交于 2019-12-03 05:35:52
问题 I am trying to query a single team project in the main TfsTeamProjectCollection which contains 194 Team Projects in total. I know exactly how to get a WorkItem by Id from a WorkItemStore . The thing is, that by doing this, the API searches in ALL of the projects in the collection and the query takes about a minute. This is way too slow, there must be a way to query work items directly from a single team project ? Here is the code I have: private Uri collectionUri; private

How to remove a empty folder from a project under TFS control?

♀尐吖头ヾ 提交于 2019-12-03 05:26:08
问题 Suppose I have a project MyLib, under that, I created a folder say Folder1. No file under this folder. The project is connected to TFS. Then I want to remove this folder Folder1. I deleted it from context menu and checked the project into TFS. Then I check the data on TFS with Team Explore->Source Control, Folder1 is deleted. But it is still there in VS 2010 on local computer. I closed VS 2020 and deleted Folder1 from widows explore. Then open VS 2010 again, the Folder1 is still there. I can

Why is TFS ignoring a project in my solution?

∥☆過路亽.° 提交于 2019-12-03 05:15:42
I have multiple projects in our solution that is in our TFS 2010 repository. I've added about 5 new projects to this solution in recent days. I have found that for one of the projects, that the project file itself will not check-in to TFS. All of the artifacts contained in this project are working fine; they are checked in and I can see them in the Team Explorer. But I cannot see the project file in Team Explorer, nor is their an icon next to the project in Solution Explorer that would indicate its checked in status. Also, clicking on any of the TFS related option in the context menu in Visual

What is the purpose of a shelveset?

前提是你 提交于 2019-12-03 05:11:29
I've been using TFS for a while now but as a lone developer I haven't really used its features to its full extent. I've now been tasked with working with a couple of colleagues overseas and we will be using a shared version of TFS. One of their processes is shelving, however im not sure on the how to use this. I decided to have a play, but i'm unsure what to do after creating a shelve set. My process was as follows:- I opened an existing project from TFS that was fully checked in and made a simple change to one of the files. I then created a shelve set. I then closed the project and reopened

Warning displayed when adding solution to Team Foundation Server 2010

余生颓废 提交于 2019-12-03 04:02:37
问题 I'm just getting to grips with TFS 2010 (never had any luck with TFS 2008) and I'm trying to add my first solution into TFS. However I am getting the following warning message: The project that you are attempting to add to source control may cause other source control users to have difficulty opening this solution or getting newer versions of it. To avoid this problem, add the project from a location below the binding root of the other source controlled projects in the solution. Can someone

Nuget repository per branch with TFS

你说的曾经没有我的故事 提交于 2019-12-03 03:46:31
I have a TFS environment with the following branching setup Dev - Primary working branch for developers Main - Stable, releasable branch Hotfix - For fixes to production code that aren't part of a normal release cycle We're setting ourselves up to use Nuget, and I want to configure things such that code in the Dev branch pulls packages from the 'Dev' nuget repository, main from the 'Main' one, etc. Now, I've figured things out to the point where I have a single file sitting the root of my branch that tells nuget.exe which repository to use. I'm now trying to figure out how to have the contents