tfs2010

Web deployment task build failed

痴心易碎 提交于 2019-11-28 02:53:38
Scenario: I set up successfully TFS2010 webdeploy task for solution. Everything worked fine until suddendly something went wrong in the deployment task. Solution has 2 web projects..those are configured to deploy on build and publish it to the dev-server. Does anybody have a knowledge what is wrong in build (information below)? C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets (3847): Web deployment task failed. ((4.8.2011 11:01:10) An error occurred when the request was processed on the remote computer.) (4.8.2011 11:01:10) An error occurred when

Change computer name for a TFS Workspace

百般思念 提交于 2019-11-28 02:49:36
My System Administrator renamed my computer. So where it was "MyLaptop2" it is now just "MyLaptop". So now all my source control bindings and checked out files are looking for a workspace with "MyLaptop2". Is there a way to redirect that workspace to my renamed (but still the same) computer? Vaccano This command run in the Developer Command Prompt for Visual Studio did the trick: tf workspaces /updateComputerName:MyOldComputerName /s:"http://MyServer:8080/tfs/MyCollection" It had to be run from the computer I wanted to assign the workspace to (that is how it gets the new computer name. Greg

How to add Windows group as “Readers” to all projects in TFS 2010 collection?

前提是你 提交于 2019-11-28 01:27:20
问题 I asked this question originally on ServerFault.com, but there seems to me more activity regarding TFS 2010 on StackOverflow.com, so I decided to re post it here... It is my understanding that "Project Collection Valid Users" TFS group can no longer be modified directly. However, I would like to grant all of my domain users (Windows group called "DOMAIN\Domain Users") a "reader" level access to TFS project Collection... I know I can go to each Project and add "DOMAIN\Domain Users" to [Project

Get Tfs Shelveset file contents at the command prompt?

一曲冷凌霜 提交于 2019-11-28 00:36:53
问题 I'm interested in getting the contents of a shelveset at the command prompt. Now, you would think that a cmdlet such as Get-TfsShelveset, available in the TFS Power Tools, would do this. You might also think that "tf.exe shelvesets" would do this. However, unless I've missed something, I'm appalled to report that neither of these is the case. Instead, each command requires you to give it a shelveset name, and then simply regurgitates a single line item for that shelveset, along with some

Problems with MSBuild OutputPath and OutDir in TFS2010

与世无争的帅哥 提交于 2019-11-28 00:09:55
We have a very large solution (some 300+) projects and we are trying to build it via MSBuild on TFS2010. We can build it via MSBuild on all out development machines, and are in the process of adopting TFS. The structure of our code is like so: bin\Client bin\Server Framework\ClientFramework.csproj Modules\Module1\Project1 Modules\Module2\Project2 etc. Each project has a relative OutputPath which builds the code to the bin Client or Server directory. So for example, Project1.csproj has an OutputPath of "..\..\bin\Client". We seem to be having a problem that in TFS MSBuild the OutDir is set to a

TFS2010 Branching into a subfolder of another branch

大城市里の小女人 提交于 2019-11-27 22:45:36
问题 We have a folder structure in our source control where some things are branched, and some aren't. The branched stuff follows a (standard?) pattern of Production , Main , Development branches plus the occasional branch for a large project. Sometimes as part of those large projects web branch some of the stuff that is normally not branched. For instance we might branch $/source/Libraries/LibraryA into $/source/branches/Project1/LibraryA to make some major Project1 -related changes to it. Then

How to disconnect solution from source control on TFS

巧了我就是萌 提交于 2019-11-27 21:05:26
问题 I have a solution with solution folder and projects. Get the whole soure code from TFS in a local folder say c:\mycodes Then copy the folder c:\mycode to another folder c:\lab In c:\lab, remove all source control file *.vssscc, *.vspscc, then open the solution in c:\lab again. Part of the project disconnect from TFS, but part of the projects in this solution still connect to TFS and some *.vssscc, *.vspscc files recreated when open the solution. Then unbind all project from server, those

How to Determine the Work Items Fixed in a particular TFS Build when using Branches?

我与影子孤独终老i 提交于 2019-11-27 20:32:00
问题 We have begun using the following branching structure in TFS 2010: All changes so far have been performed in the Development branch, and all check-ins have been associated with a Task work item. The Tasks are all children either of a Bug or a Product Backlog Item work item. Each CI build is triggered for a particular changeset, and the changeset is associated with a Task, so we can manually figure out which Bug or PBI was just built. Some time after the code has been built, deployed to our

How to run unit testing tests from command line?

与世无争的帅哥 提交于 2019-11-27 20:21:02
问题 I googled and found the below helpful references. Currently I want to run all from the command-line (for easy of execution & quickness) in cases: A specific test (ie. a test written by a method marked [TestMethod()]) All tests in a class All impacted tests of the current TFS pending change of mine. All tests All tests except the ones marked as category [TestCategory("some-category")] I'm not sure how can I write a correct command for my needs above. References: the MSTest.exe http://msdn

What does ***NO_CI*** stand for?

两盒软妹~` 提交于 2019-11-27 20:20:57
A gated check-in will create a change-set whose name is ended with ***NO_CI***? What is that NO_CI stand for? I can just think of "no check in errors" but it doesn't make sense. It stands for No Continuous Integration . Since the check-in is gated, the existing code, plus this check-in, will be built separately and only allowed onwards if the build is successful. So when the gating process actually submits it to source control, there wouldn't be any point for that check-in to cause another (continuous integration) build to occur, since at that point thechangeset is 'known good'. So this suffix