tfs2012

How do i get current Branch path from Source control explorer using VS package

僤鯓⒐⒋嵵緔 提交于 2019-12-11 12:02:26
问题 I have created VS extension that creates a menu command on Source control explorer by right click on that it open custom form,Now i want to display current TFS path(from where user right click) in that custom form.Same as TFS "Branching and Merging => Branch" Source Path. Any help Appreciate. 回答1: You can use the VersionControlExplorerExt object with its properties SelectedItems, CurrentFolderItem, etc. From a package it would be something like: private void MenuItemCallback(object sender,

Excluding Files from TFS Server Workspace

主宰稳场 提交于 2019-12-11 10:29:48
问题 We just implemented TFS in our company and I accidentaly included the bin and obj folders. I would like to exclude them. I searched on Google and found basically 2 ways to accomplish this: 1) https://msdn.microsoft.com/en-us/library/66tw9ezk(v=vs.90).aspx In Visual Studio, open Solution Explorer and select the file to exclude. On the File menu, click Source Control, then click Exclude from Source Control. When you are ready to place the file under source control, you can access the File menu

tfs 2012 build task failed because “resgen” was not found

青春壹個敷衍的年華 提交于 2019-12-11 10:14:00
问题 I am trying to run my build for my solution vs.net 2012 tfs but I am getting an error: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Microsoft.Common.targets (2291): Task failed because "resgen.exe" was not found I tried to install the latest windows sdk 7.1 but it wont let me? is there another solution for this except installing vs.net on the buildserver? 回答1: I resolved this error on my TFS 2012 Build Server (Windows Server 2012) by: Installing the Windows SDK from this link: Microsoft

Running Windows Phone 8.0 tests in a Continuous Integration environment

独自空忆成欢 提交于 2019-12-11 09:44:21
问题 I have a VS 2013 solution with a WP8 App, a WP8 Library for my viewmodels, a WP8 Unit Test project to test my library and other standard unit tests projects. The solution is under TFS 2012 source control, the build controller is setup and it correctly build my solution. But my WP8 specific tests are not ran after automatic build. All other standard Unit Tests projects run well. Some additional infos: the ".xap" package for the test project is well generated the build process Template (Default

Team Build cannot copy diagnostic activity log to the drop location

眉间皱痕 提交于 2019-12-11 08:56:39
问题 I'm trying to configure a new install of Team Foundation Server Express. The problem I'm having is that when I run a build that outputs to a drop folder I get the error An error occurred while copying diagnostic activity logs to the drop location. Details: Access to the path '\\c$\drops\Test Application\Test Application_20130206.9\Logs' is denied. If I disable the drop folder the build runs fine. The drop folder is located on the same machine as TFS. I've given full control of that folder to

Queueing TFS builds via PowerShell

耗尽温柔 提交于 2019-12-11 08:23:10
问题 TFS2012 with a one 2010 build controller with one 2010 build agent. Also have one 2012 build controller with multiple 2012 build agents. We have multiple builds for multiple versions of our software. The builds are named according to a convention e.g. Foo_version_1_0 and Foo_version_2_0. When I run this code on my local machine, all the builds are queued. When I run this code manually on a 2012 build agent, the builds are queued. When I run this code manually on a 2010 build agent, no builds

MSpec Test Adapter with TFS

只谈情不闲聊 提交于 2019-12-11 07:53:51
问题 Has anyone successfully used the MSpec Test Adapter with TFS? If yes, can you please shed some light on how I would go on about doing this? I noticed this post but it uses the console runner. 回答1: After lots of research and trial and error, I finally figured how to make this work. It's actually pretty easy. Install the MSpec Test Adapter on the build server. Download the MSpec Test Adapter and change the file type to .zip Extract the files to a folder on your build server. Point the "Version

Cannot create build definition due to build controller not available

半世苍凉 提交于 2019-12-11 07:22:43
问题 When trying to create a new build definition for my Team Project, I got the below error. I check and see that the build controller is running. How can I get around with this? 回答1: As per your other question: Cannot select the TFS build service for more than one team project collection This is a known limitation of Team Build. Each Build Controller can only be assigned to one TeamProjectCollection, but you can install multiple Build Controllers (although you can only install one Build

The path $/FullStackSampleApplication is not a file. (type InvalidOperationException)

北城以北 提交于 2019-12-11 06:48:23
问题 I have created a new build definition with a custom activity. I modified the AzureContinuous deployment xaml as explained here: http://www.ewaldhofman.nl/post/2010/06/01/Customize-Team-Build-2010-e28093-Part-10-Include-Version-Number-in-the-Build-Number.aspx And here a problem I had before but I could solve it: 'AssemblyInfoFileMask' is not declared. It may be inaccessible due to its protection level When I queue a new build I got the exception The path $/FullStackSampleApplication is not a

Display new work item tags from TFS 2012 Update 2 in TFS Client?

╄→尐↘猪︶ㄣ 提交于 2019-12-11 04:17:56
问题 Work item tags were introduced in TFS 2012 Update 2 as a new feature for Team Web Access. Is there a way, even a work around, so that the tags can be displayed/edited in the TFS Client? Even if it was just a semicolon separated textbox would be sufficient. 回答1: This is currently only available through Web Access. The Team Foundation Server / Visual Studio Team is looking into adding this to other clients as well. The following Visual Studio User Voice items with Product Team Comments hint