tfs2012

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

北城以北 提交于 2019-12-04 13:17:49
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 which look like this: <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'MyConfig|AnyCPU' "> .

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

[亡魂溺海] 提交于 2019-12-04 11:11:33
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 access to my Work Items instead of having to run Queries to see them) when using Microsoft Git Provider ?

Hotkey to open TFS Source Control Explorer in Visual Studio 2012?

回眸只為那壹抹淺笑 提交于 2019-12-04 08:16:23
问题 Currently I have to open Team Explorer and click on Source Control Explorer as below snapshot. I do this very often and need a hotkey for that. What is it then? 回答1: Try with below step: Go to Options of Tools menu Select the Keyboard from Environment Select View.TfsSourceControlExplorer from Show commands containing: . You can type View.TFS in the textbox to filter the list. Enter your hotkey in Press shorcut keys => click on Assign Hope it helps! 回答2: According to a comment that I found in

Creating a build process template which does nothing but copy all files to another directory

好久不见. 提交于 2019-12-04 05:24:54
问题 I would like to create a Build Definition inside TFS 2012 Express which will simply copy all files within my project source tree to another folder on my drive. Just to underline - I do not want the build output to go to another directory - I want the source files themselves to. The reason for this is I have IIS pointed at a specific folder, and I want the build to copy the latest asp and aspx files to the IIS hosted folder. I am not sure of the intricacies of doing this, I did find : http:/

How do I get the the expected output from a TFS 2015 build (to match my XAML build)?

拜拜、爱过 提交于 2019-12-04 04:44:28
问题 We just upgraded to TFS2015 (onsite) and I'm trying to set up a build that will do the same thing as my xaml builds but I can't seem to get the same files built. Here's a picture of the xaml output directory that I use to publish the site. To get this I navigate to the build folder then drill down to the _PublishedWebsites\BOTWSitecoreWeb folder: Here's a picture of the solution explorer: So as you can see BOTWSitecoreWeb is my startup project and it forms the basis for the website. So to

How to delete a work item in TFS 2012?

爷,独闯天下 提交于 2019-12-04 03:44:05
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" utility mentioned in the article due to work's internet restrictions as it's on Skydrive. Also tried the

How to add Bugs to TFS 2012 task board

两盒软妹~` 提交于 2019-12-04 03:25:51
问题 I'm trying to follow the instructions at http://msdn.microsoft.com/en-us/library/hh739066(v=vs.110).aspx for "Work item types that appear on the task board page". I add <WORKITEMTYPE name="Bug" /> to the Task Category. However, when I import the categories I get an error message saying TF400917: The current configuration is not valid for this feature. Does anyone have any ideas as to what is wrong? That is the only configuration that I have changed. If I remove the new line from the config

Merging Development Branch to Main: There were no changes to merge

ε祈祈猫儿з 提交于 2019-12-03 23:43:20
问题 My main branch has some files that have different codes from the same file of development branch. The development branch is the one that has the correct version of these files but when I am trying to merge it to main branch(target); I am getting a message saying There was no changes to merge How can I resolve that problem so that the main branch has the correct version of those files? 回答1: When merging files TFS doesn't just look at the differences between the two branches, but it also keeps

What happened to “Exclude from Source Control” in VS2012

馋奶兔 提交于 2019-12-03 23:31:11
I want to exclude some of the files in code folders from TFS 2012 source control. Before VS2012 this was done by the "Exclude from source control" command available in "Source Control Explorer"s right-click menu. But in VS2012 I can not find it. Does anybody know where it is ? (I am using a "Local" workspace by the way.) e-mre When you click on "Detected Changes" in the Team Explorer pane, "Promote Candidate Changes" window opens. This window allows you to select among detected changes and promote them to a source controlled item. In this "Promote Candidate Changes" window, you select a file

What are the consequences of renaming a branch in TFS 2012?

女生的网名这么多〃 提交于 2019-12-03 22:10:10
I've read in many places that renaming a branch is rather problematic in TFS 2010 : you may lose the history of the branch you just renamed ( as seen in this article or in this SO question ) I cannot find any mention of those problems in TFS 2012. Are there any consequences I should be aware of before renaming a branch in TFS 2012 ? James Reed The biggest problem with renaming a branch, is that you will effectively be performing a baseless merge next time you merge to or from the renamed branch. This can cause a lot of pain. I'm currently trying to untangle such a mess at the moment and its