tfs2010

Specifying code analysis setting in TFS 2010 build

做~自己de王妃 提交于 2019-12-07 00:14:32
In the build definition of TFS 2010, when "Perform Code Analysis" set to "Always" how can I specify a custom code analysis rules file? The build flavour is "Release". I prefer not to set "AsConfigured" for "Perform Code Analysis" so that the settings are picked from proj file. Thanks. You should be able to use the "MSBuild Arguments" entry in your build process parameters configuration to provide a /property command line entry that will be passed to MSBuild, thereby allowing override of the CodeAnalysisRuleSet property value to be applied. Depending on how you have set up the

TFS 2012 and VS 2010

梦想的初衷 提交于 2019-12-06 18:31:19
问题 I was very excited to hear TFS 2012 made a step towards distributed source control in allowing source code to be modified (without major issues) when TFS is offline. I currently use a hosted TFS service, so im hopeful the migration to TFS2012 should be painless. At least for me anyway. So my question is simple, is there such a thing as TFS2012 powertools for VS2010 or is TFS2012 only available for VS2012? Appreciate your comments. 回答1: You can connect to TFS 2012 from VS 2010, but you'll need

TFS 2010: Service Unavailable 503

a 夏天 提交于 2019-12-06 17:01:13
问题 I've been trying to solve this problem for about a week now. I posted this question on Microsoft website and only received one reply, which did not solve my issue. The following is a combination of my posts on Microsoft website. I installed and configured TFS 2010 on Window 7 PC 64-bit. When I navigate to http://localhost:8080/tfs in my browser, I get Service Unavailable – HTTP Error 503. The service is unavailable. Any help to solve this problem would be greatly appreciated. Based on

Latest value = “Not Downloaded”

血红的双手。 提交于 2019-12-06 16:53:53
问题 I have several projects in TFS which visually appear in the directory hierarchy as greyed out. When I browse within the projects in Visual Studio 2010/Source Control/TFS 2010, I notice that all of their contents have a Latest value = "Not downloaded". Normally, I have only seen Latest values of "Yes" or "No". I have tried all of the varieties of "Get latest" that I know, but I am always alerted that "All files are up to date". If I try to "Check out for edit", I am not allowed. When I observe

RegisteredTfsConnections.GetProjectCollection returns null on test server, but not on dev server

纵然是瞬间 提交于 2019-12-06 16:01:03
See topic. Everything works fine on my devmachine where VStudio2010 are installed. But not on a clean test server (The setup project includes all used TFS assemblies). The docs http://msdn.microsoft.com/en-us/library/ff735997.aspx is not very helpful about the return value: Null if no match is found. Should I use another method to get a TFS connection? I'm just trying to list and download some files from a specific project. Update I reverted back to this: var uri = new Uri("http://myserver/"); var tfs = new TeamFoundationServer(uri); var versionControl = tfs.GetService<VersionControlServer>();

Unable to create new Team project over the internet getting SQl Reporting service resolve error

半腔热情 提交于 2019-12-06 15:47:33
Hi I have installed a Team Foundation Server 2010, and it works perfectly over my Lan, but I need it to work over the internet too. My problem is that when Im connected to my team server over the internet, I get the following error, when I try to create a new Team project. TF218027: The following reporting folder could not be created on the server that is running SQL Server Reporting Service: //TfsReports/myTeam. The report server is located at: http://my-server/reports . The error is: The remote name could not be resolved: 'my-server' From the looks of it, its trying to resolve my lan name. I

TFS Web Deploy doesn't execute via Build but executes locally?

天大地大妈咪最大 提交于 2019-12-06 12:32:11
I have a solution that I am trying to get TFS 2010 to deploy after it builds. When I run the following msbuild command locally, it deploys fine: msbuild C:\Path\to\Solution.sln /p:DeployOnBuild=True /p:DeployTarget=MsDeployPublish /p:CreatePackageOnPublish=True /p:MSDeployPublishMethod=WMSVC /p:MSDeployServiceUrl=https://[Server]:8172/MsDeploy.axd /p:DeployIisAppPath="TestSite" /p:UserName=Domain\Username /p:Password=NotTheRealPassword /P:AllowUntrustedCertificate=True However, when I stick those same options into the TFS 2010 build MS Build arguments: ...it doesn't appear to execute anything.

MSDEPLOY using MSBUILD from TFS 2010 -could not establish trust relationship for the SSL/TLS secure channel

主宰稳场 提交于 2019-12-06 12:31:26
问题 I am getting following error. ERR: could not establish trust relationship for the SSL/TLS secure channel. The remote certificate is invalid according to the validation procedure Should I change any thing regarding https on IIS 7.5 /p:DeployOnBuild=True /p:DeployTarget=MSDeployPublish /p:MSDeployPublishMethod=WMSVC /P:CreatePackageOnPublish=True /p:MsDeployServiceUrl=151.143.180.16 /p:DeployiisAppPath="DIAInternal/TestDIA" /p:Configuration=Debug /p:username= username /p:password=Password /p

TFS 2010 Issue with tracking Changesets in Builds that are a result of Gated Checkins

北城以北 提交于 2019-12-06 11:59:37
问题 In order to retrieve the information which Changeset was included in which Build, we use "Label Sidekick" of Team Foundation Sidekicks, where we place the Label of the Build & expect to find the newly built Changeset. Our development process in TFS 2010 is making use of 'Gated' checkins, so we are faced with the situation that the latest checkins are not presented in Sidekicks (we actually receive the changeset of the previous build). This is explainable, since at the time the labeling takes

Need some assistance with TFS2010 + an automated Build + 'Configurations to Build = Debug'

你离开我真会死。 提交于 2019-12-06 11:51:38
really. weird. shiz. When I do a TFS Team Build (with Remote Deploy ), some #if DEBUG preprocessor directives code I have on a web page does not get called. When i manually one-click deploy (remote deploy) the preprocessor directive code works. When I debug locally, the code also works. So - problem looks to be related to my configuration settings for the Build Template i have (I think??). So, this is what I have :- Nothing too hard. That says ... Please kind Compiler. Build my project (read: project, NOT solution) in 'DEBUG' mode. The code i have is the following :- #if DEBUG Log.Debug("We