tfs2010

Execute script after deployment - MSDeploy

痴心易碎 提交于 2019-12-01 03:39:14
问题 Is there a way to trigger a custom script (or open a windows app) after a user imports the deployment package using IIS and completes the installation? Any help? 回答1: Try help for msdeploy.exe. msdeploy.exe -help -postSync or http://technet.microsoft.com/en-us/library/ee619740(WS.10).aspx msdeploy -verb:sync -source:contentPath="C:\Test1" -dest:contentPath="C:\Test2" -preSync:runcommand="Appcmd stop sites MyWebSite" -postSync:runcommand="Appcmd start sites MyWebSite" msdeploy -verb:sync

New TFS 2010 Features [closed]

耗尽温柔 提交于 2019-12-01 03:28:21
问题 This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. Closed 8 years ago . Does anyone know where I can go to get a list of the new TFS 2010 features. NOTE: I need TFS 2010 features. Not Visual Studio 2010. My boss is wondering

Exclude a config file from the merge process

本秂侑毒 提交于 2019-12-01 03:16:25
Is there a way to exclude a specified file from the merge process? when merging from our production branch to the test branch for the testers to use, we want to exclude a config file which contains the SQL connection string. Preventing the need to edit it post merge. I did see a comment about using the cloak option but i can only see this available for folders not files. Tim Taylor Lafrinere There are a few different ways you can do this. If you don't plan on changing your config file in the future and you just don't want its current contents to make it to the parent branch, you could simply

TFS2010: How to link a WorkItem to a ChangeSet

丶灬走出姿态 提交于 2019-12-01 02:45:27
问题 I would like to programatically link WorkItems to Changesets. At the moment I am already creating work items from my c# code and saving them to the TFS. The code looks as follows: WorkItem item = new WorkItem(project.WorkItemTypes["CustomItem"]); item.Fields["CustomField1"].Value = someValue; item.Fields["CustomField2"].Value = someValue; item.Fields["CustomField3"].Value = someValue; item.Validate(); item.Save(); This part of the code works fine. Now I would like to associate the newly

Large Files in Source Control (TFS)

巧了我就是萌 提交于 2019-12-01 02:32:16
Recently at the office we have been talking about placing large files into our TFS repository. The files themselves are XML, usually 100-200MB in size, and sometimes as large as 1GB. We use them as data for automated testing and they are mostly static (one gets a minor tweak every year or so). Anyway, there is a notion that putting files like this into the repository is a no-no because they are "big" and that will make things "slow" (outside of the original check-in/out) but we don't really have any evidence to back this up. So my question is, what are the pros / cons / implications of putting

TFS Build Test Results

十年热恋 提交于 2019-12-01 02:31:26
We're working on Visual Studio 2010 and TFS 2010. We have our own BuildTemplate that is a copy of default template, but with some additions like (create Directory...), but the main point, that all that is in DefaultTemplate - is left. We have witten "unit" tests that also are working. I have made Build definition that runs all the unit tests. Have read the information here - http://geekswithblogs.net/jakob/archive/2009/06/03/tfs-team-build-2010-running-unit-tests.aspx and a lot of other places also. Build runs just perfect, the only thing that is'nt working is a Build summary - Test results,

What is overriding Windows proxy settings (inserting “vsts-proxy-installed-indicator”) and how do I turn it off?

时光怂恿深爱的人放手 提交于 2019-12-01 02:30:13
I have a number of machines, all of which have Visual Studio installed, where something (presumably visual studio) is overriding the proxy settings: setting up localhost and some random port for both HTTP and HTTPS. In the "Do not use proxy server" box, it puts <vsts-proxy-installed-indicator> which is presumably a tag so it know it's done it. This occasionally prevents browsers from working on my desktop, and more recently, changed it on our build server which caused the code signing step (which connects to an external timestamp server) to fail all day until I finally found this proxy issue.

Why can't I attach TFS to a Project Collection that was restored to SQL Server (I think) correctly?

青春壹個敷衍的年華 提交于 2019-12-01 02:20:38
问题 We tried moving a TFS Project Collection from one TFS 2010 server to another. Detached the collection in TFS Console on source server Backed up the collection, Tfs_DefaultCollection, in SQL Server 2008 Standard Edition DBA restored the Collection to a new database, Tfs_MyCollection, to the SQL Server 2008 Enterprise, R2, instance used by the target TFS Server. TFS Administrator attempted to attach to the target server. TFS adminisitrator received the following error message. TF254078: No

TfsConfigurationServer.GetService<VersionControlServer>() always returns null

一个人想着一个人 提交于 2019-12-01 01:40:14
问题 I'm trying to connect to TFS 2010 using TFS SDK, but can't get VersionControlServer service. var servers = RegisteredTfsConnections.GetConfigurationServers(); // ok then var tfs = new TfsConfigurationServer(servers.First().Uri, CredentialCache.DefaultNetworkCredentials); // or var tfs = new TfsConfigurationServer(servers.First()); both always returns null: var vc = (VersionControlServer)tfs.GetService<VersionControlServer>(); // null! What should I do? 回答1: You don't want the configuration

TFS build duration report by agent

不打扰是莪最后的温柔 提交于 2019-12-01 00:06:28
I'm trying to build a report to show the relative efficiency of my various build agents and having trouble getting the info I need out of the tool. What I'd like to have is a simple grid with the following columns: Build Number Build Definition Build Agent Build Status Build Start Time Build Duration Which would let me do something like chart the duration of successful builds of a given build definition on agent1 against the same build definition on agent2 through agentN. How would I go about this? My initial intention was to point you to TFS OLAP Cube & describe how you could retrieve what