tfs2010

How to create a webservice which listens to tfs 2010 event alerts?

烈酒焚心 提交于 2019-12-04 14:46:21
i need a webservice which listens to tfs (2010). The tfs will trigger an alert when build quality is changed. i want to process that SOAP message using a webservice. how do i create that? is there any template? i am a rookie in c# &.net...it would be much helpful if someone gives me a template...thx a lot You can create a WCF service to receive these alerts. Please see "How to use WCF to subscribe to the TFS 2010 Event Service [rolling up hours]" . Instead of using this method for using WCF event handlers, I would actually use the new ISubscriber method. We additionally discuss how it works in

Application Tier Configuration Failed For TFS 2010 on Windows Server 2012 R2

故事扮演 提交于 2019-12-04 13:48:13
I have installed TFS for Visual studio 2010 on Windows Server 2012R2. ISS is already configured with IIS 6 compatibility, Static content compression and Windows authentication. But the application tier configuration failed with the following errors Error [ Application Tier ] TF255120: Compatibility mode for Internet Information Services (IIS) 6.0 is not enabled. Team Foundation Server requires this on this operating system. Error [ Application Tier ] TF255456: You must configure Internet Information Services (IIS) to use the Static Content component. Team Foundation Server requires the Static

Problem with Team Build 2010 and web.config transformation

女生的网名这么多〃 提交于 2019-12-04 13:37:20
问题 I'm struggling to get web.config transformations working with automated builds. We have a reasonably large solution, containing one ASP.NET web application and eight class libraries. We have three developers working on the project and, up to now, each has "published" the solution to a local folder then used file copy to deploy to a test server. I'm trying to put an automated build/deploy solution in place using TFS 2010. I created a build definition and added a call to msdeploy.exe in the

Getting the dte2 or TeamFoundationServerExt object in a VS Package project?

情到浓时终转凉″ 提交于 2019-12-04 12:52:53
I am working on a Visual Studio Package project. This project needs a connection to our TFS. To read the current connection, I would need the TeamFoundationServerExt object, which I should be able to get from the dte2 object. Now I found hundreds of examples and most of them are working with an "_application" variable, which seems to get automatically filled, but of course not for the "Visual Studio Package" project type. How can I get the TeamFoundationServerExt object of the currently running VS2010? You should be able to do the following from a VSPackage to get the current DTE object: DTE2

Is there a way to check-out multiple files from various folders in TFS in a single operation

走远了吗. 提交于 2019-12-04 12:03:04
Is there a way to check-out multiple files from various folders in TFS in a single operation. i have modified multiple files under muliple direcotries but i want them to check-out in a single click and check-in also in single click. Thanks. redrobot Yes, using the TFS command line client (tf.exe). If you have tf.exe available, you could do this using the checkout command. (If you don't, take a look at this question: How to get tf.exe (TFS command line client)? ) Checkout command for Visual Studio 2013-2015: https://www.visualstudio.com/en-us/docs/tfvc/checkout-or-edit-command Older versions:

Set Wix property to TFS build location

…衆ロ難τιáo~ 提交于 2019-12-04 11:53:49
问题 I have been trying to find an answer to my question and could not find it; hence I will put the solution here. I hope it is helpful to others. Problem: I want my Wix project to build in TFS 2010 build process. As part of this, I want the source files location for my Wix to point to the build location of the TFS. For example, I want: <File Id="ABC" KeyPath="yes" source="C:\Builds\1\MyBuild\assembly.dll" /> to be: <File Id="ABC" KeyPath="yes" source="$(var.TFSLOCATION)\assembly.dll" /> The

How can I programmatically build my solution files from C# code?

怎甘沉沦 提交于 2019-12-04 11:03:37
I have a large solution containing many projects with one of them being a Setup project. There are also many current versions stored in separate branches. I have a build tool that used to work in .NET 2, but hasn't worked since we upgraded to .NET 4. Internally, the new .NET 4 version of the build tool uses Microsoft.TeamFoundation.Client.RegisteredTfsConnections.GetProjectCollections() and versionControlServer.GetAllTeamProjects(false) to get a collection of TeamProject s from my TFS source control server. I then display them visually in the UI and when a user clicks on a particular solution

How can I store the new CHANGESET number in my source code after I check in?

情到浓时终转凉″ 提交于 2019-12-04 09:59:07
In SVN you can use some keyword expansion to put your revision number inside source files. I find this particularly useful on SQL scripts. Using TFS2010, how can I put the changeset number inside a source file ? If you really must insert the current changeset number in a file, you can use the Keyword Substitution Check-in Policy . 来源: https://stackoverflow.com/questions/10247305/how-can-i-store-the-new-changeset-number-in-my-source-code-after-i-check-in

Third-party DLLs with TFS build server

时光怂恿深爱的人放手 提交于 2019-12-04 09:21:46
I'm just setting up an automated build for the first time in my Team Foundation Server (TFS)/ Visual Studio 2010 enviroment. It's a WPF 4 application that uses the Entprise library and has also some components that have been built in Expression Blend . The application builds OK inside Visual Studio. However, it fails to build using the build server. For example: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\Expression\Blend.NETFramework\v4.0\Microsoft.Expression.Blend.WPF.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file

Are we using TFS 2010 incorrectly?

强颜欢笑 提交于 2019-12-04 08:32:33
问题 Our team is new to TFS2010. Historically, we have used our own Business Requirements Matrix (traceability matrix) Excel spreadsheet. It has typical columns like: Requirement ID | Project | Rule Group | Business Rule | Type ...etc Our Business Rule column reads something like the following: "The system shall provide a means to allow the actor to search for a Study." "The system shall provide a means to allow the actor to search for a Project." "The system shall generate a move activity for the