tfs2010

How do I check-in my rolled back changeset+fixes to TFS after an emergency rollback

时光怂恿深爱的人放手 提交于 2019-12-01 23:11:54
we committed some code by accident to TFS using VS2013 which created let's say changeset 2. In order to fix this mistake we did a rollback of changeset 2 to the local machine We then committed the rollback of changeset 2 thus creating changeset 3 Now we wanted to get the code we originally mistakenly checked in (from step 1) on the local machine so we did "Get Specific Version" and selected changeset 2 so we have changeset 2 on the local machine we made the changes we wanted on the local machine which now has changeset 2 What are the steps to commit changeset 2 with the corrections back to TFS

Error CS0246: The type or namespace name 'AssemblyFileVersion' could not be found

瘦欲@ 提交于 2019-12-01 21:40:24
Properties\AssemblyInfo.cs(41,12): error CS0246: The type or namespace name 'AssemblyFileVersion' could not be found. I'm getting this error when I use TFS build agent but don't have this problem with building using the .csproj from studio. Is there anything I am missing? My assemblyinfo file looks like so: // -------------------------------------------------------------------------------------------------------------------- using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change

Include files from Team build output folder into XAP

大城市里の小女人 提交于 2019-12-01 21:38:58
I'm trying to do Continuous Integration using TFS 2010 for a Windows Phone 7.1 project. There are 2 resource projects ( Win32 Project for localisation ) and the main Windows phone project. I have copied the project output of above 2 projects to a folder in the main WP project (inside 'MUI' folder) , and also marked the files as 'content' in build action. All works well when building and running the WP7 project from Visual Studio 2010. But when I try to build the projects using TFS 2010 build system , the build fails with the following error "Xap packaging failed. Object reference not set to an

How to add edit items to the predefined lists in TFS Work Items

假如想象 提交于 2019-12-01 21:04:02
I am trying to follow this article to do the same for adding a new State to a particular project's Bug work item. By default I can only see . I wanted to add a new state, "On Hold" But I perhaps followed it wrong and ended up getting The error says "Open Transition Active~On Hold to add at least one Reason." How do I open that transition and where do I add one reason. What is the reason it is talking about? I only want to add a new state. Thanks for your time... Double click the Active~On Hold Transition , select the Reasons tab and type in at least one reason. After saving the .wit file, you

$(TeamBuildConstants) is blank for TFS builds

元气小坏坏 提交于 2019-12-01 20:42:00
问题 I have a post build event like this: if NOT "$(TeamBuildConstants)"=="_TEAM_BUILD_" "$(SolutionDir)Tools\NuGet.exe" pack "$(ProjectDir)MyAssembly.nuspec" -BasePath "$(ProjectDir)$(OutDir)." if "$(TeamBuildConstants)"=="_TEAM_BUILD_" "$(SolutionDir)Tools\NuGet.exe" pack "$(ProjectDir)MyAssembly.nuspec" -BasePath "$(OutDir)." When I build on in Visual Studio $(TeamBuildConstants) is blank (as it should be). But when I build on my TFS 2010 Server, $(TeamBuildConstants) is still blank. What do I

Where is the TFS 2010 API DLL Microsoft.TeamFoundation.Framework.Server.dll?

允我心安 提交于 2019-12-01 20:03:58
问题 This DLL is needed to reference the corresponding namespace Microsoft.TeamFoundation.Framework.Server. This DLL doesn't seem to be included with either the Visual Studio 2010 Team Explorer or the Visual Studio 2010 Team Foundation Server SDK. 回答1: This file can be copied from the server where Team Foundation Server 2010 is installed in the folder C:\Program Files\Microsoft Team Foundation Server 2010\Application Tier\Web Services\bin . 回答2: The official place is \Program Files\Microsoft

TFS 2010 - command line for convert to branch

烂漫一生 提交于 2019-12-01 18:20:43
TFS exposes a commmand line utility which covers most of the areas. However I am creating a script which will create the folder and branch structure within a specified project. For this i need to convert my Truck to a branch and then further create branches from there. I cannot find the command which does this. So far I have found this link which desribes to to convert a folder to a brnch, but has no reference to the command line utility unlike the other descriptions. Does that mean that the command line utility does not support this? Ewald Hofman The question is answered in more detail on the

Migration from TFS 2010 to TFS 2012

天涯浪子 提交于 2019-12-01 17:59:24
I have been searching the web for a clean solution on how to migrate our 2010 tfs collections to our new tfs 2012 server, but no luck. May someone please assist with the steps or a good blog I could look at to achieve this process. The reason we want to do a MIGRATION and not an upgrade is because we got new hardware and would first like to trial TFS 2012 before we upgrade our live environment. Therefore we would like to import all our collection including the work items and build process templates. You can move a collection at a time using the detach option in 2010 and attach it back to 2012

TFS 2010 - command line for convert to branch

大城市里の小女人 提交于 2019-12-01 17:56:01
问题 TFS exposes a commmand line utility which covers most of the areas. However I am creating a script which will create the folder and branch structure within a specified project. For this i need to convert my Truck to a branch and then further create branches from there. I cannot find the command which does this. So far I have found this link which desribes to to convert a folder to a brnch, but has no reference to the command line utility unlike the other descriptions. Does that mean that the

How and where does TFS 2008 / TFS 2010 store changesets?

流过昼夜 提交于 2019-12-01 16:09:36
问题 I am attempting to understand how TFS 2008 (and 2010 if it's different) store and communicate details of a set of changes in a changeset. Now when I commit to a Subversion hosted project, the client sends diffs to the server. So if I have added a file and changed a few lines in another it sends something like "Added file A.txt, put 2 lines "A" "B" into B.txt" . This means I can back out a revision as diffs are nicely reversible - "Delete file A.txt and take out two lines from B.txt". Pretty