tfs2010

MSBuild not triggering WebDeploy

雨燕双飞 提交于 2019-11-29 12:34:59
Multiple TFS 2010 MSBuilds are not triggering Web Deploy to publish the web application to the IIS website. This is for multiple different software products, multiple different build configurations, 2 different build agents (on 2 different servers), multiple IIS web site instances on multiple different servers. 3 different continuous deployment setups were previously working. So hopefully this rules out miss-configuration of the build/build servers/hosting servers/web deploy and IIS. According to the network manager nothing has changed on the network (all servers are local), and port 8172 is

Visual Studio 2012 keeps losing connection with TFS 2010

て烟熏妆下的殇ゞ 提交于 2019-11-29 12:30:51
问题 I'm working with Visual Studio 2012 and when I wanted to check in my pending changes (on TFS 2010), all of sudden VS loses its connection with TFS and says (on the Team Explorer window): "HTTP Code 404: not found". The option to check in (or to shelve) is disabled. When I try to refresh the source control explorer window, it briefly shows my folders, but then closes it again (saying it was disconnected with TFS). The funny thing is that I still can get the latest version from TFS and even see

Build error in tfsbuild with database project

北城余情 提交于 2019-11-29 11:07:21
问题 I have setup my .NET project in TFS Build. It builds fine locally, but I am getting this build error on the server: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. I have no idea what it is, even googling didn't help much. My solution has some database projects. What is the issue here and how I can

How to add an existing solution to a Team Foundation Server?

*爱你&永不变心* 提交于 2019-11-29 10:35:49
问题 I have a solution, which contains 7 projects. I wanted to try out TFS (just to see how it works etc.), so I would like to add this existing solution to my TFS' DefaultCollection. Is this possible without re-creating all the projects and adding their files? 回答1: Create a Team Project to hold them Create a workspace mapping between the team project and the current location of your code on disk Go to Team Explorer, connect to your new project, double-click "Source Control" Right-click the node

Where is TFS 2010 Team Build Revision $(Rev:.r) Stored?

╄→尐↘猪︶ㄣ 提交于 2019-11-29 10:09:17
TFS 2010 exposes a "Build Number Format" property, which contains $(BuildNumberDefinitionName) and $(Rev:.r) variables (among other things). Two and a half parts to my question: What are all the available variables that can be used here? Where does the value for $(Rev:.r) come from (where is it stored)? a. Can it be reset or changed? http://www.richardmaxwell.name/blog/2011/5/5/force-tfs-build-revision-to-a-specifc-value.html Anytime you change your Build Number in a TFS build, the revision resets to 1, which is what it should do, most of the time. But sometimes, you want to start at revision

How to Perform a TFS get to a supplied or current directory path, ignoring workspace settings

强颜欢笑 提交于 2019-11-29 09:42:47
I am using TFS 2010 and writing a script to enable a simple get of specific version label of our software. Since this is only a simple get, is there anyway to just perform a get without having to use the current workspace settings or change the workspace settings to the desired path? There is no reason to link the files to CM after the get, so I have no reason to preserve this 'workspace'. I just want to be able to create a directory anywhere I want and get TFS to give me a copy of the current version labeled files at the current directory, or to a directory I supply 'on the fly'. There seems

Stop Refresh inside TFS Build window in Visual Studio

帅比萌擦擦* 提交于 2019-11-29 08:44:53
问题 Is there a way to stop the constant refreshing inside Visual Studio when looking at a TFS Build? Using VS 2010 SP1 and TFS 2010 SP1. When watching a build in the Build window, the screen refreshes every 10 seconds or so. Not a big deal except during every refresh the window resets to somewhere in the middle of the page if looking at the bottom of the build window (and it scrolls). So annoying. I'd rather manually refresh to watch the build run instead of scrolling down to the bottom, then

How to add Windows group as “Readers” to all projects in TFS 2010 collection?

百般思念 提交于 2019-11-29 07:55:15
I asked this question originally on ServerFault.com , but there seems to me more activity regarding TFS 2010 on StackOverflow.com, so I decided to re post it here... It is my understanding that "Project Collection Valid Users" TFS group can no longer be modified directly. However, I would like to grant all of my domain users (Windows group called "DOMAIN\Domain Users") a "reader" level access to TFS project Collection... I know I can go to each Project and add "DOMAIN\Domain Users" to [Project]\Readers group but I am wondering if this is possible to achieve in "one shot" so that future

Get Tfs Shelveset file contents at the command prompt?

限于喜欢 提交于 2019-11-29 07:08:38
I'm interested in getting the contents of a shelveset at the command prompt. Now, you would think that a cmdlet such as Get-TfsShelveset, available in the TFS Power Tools, would do this. You might also think that "tf.exe shelvesets" would do this. However, unless I've missed something, I'm appalled to report that neither of these is the case. Instead, each command requires you to give it a shelveset name, and then simply regurgitates a single line item for that shelveset, along with some metadata about the shelveset such as creationdate, displayname, etc. But as far as I can tell, no way to

Can you do a TFS get without needing a workspace?

℡╲_俬逩灬. 提交于 2019-11-29 06:56:19
I'm trying to change our build scripts from using SourceSafe to TFS without using MsBuild (yet). One hiccup is that the workspace directory is renamed and archived by the scripts, which makes TFS think it doesn't need to get any files. Even with the /force flag it just gets the directories without getting the source files. I am currently using TF.exe get "Product/Main/Project1" /force /recursive /noprompt To save me managing workspaces in the scripts or using intermediate directories, does anyone know of a command that can get directories and code without needing a workspace? It's not possible