tfs2010

TFS SDK: Query yesterday's builds

拟墨画扇 提交于 2019-12-10 15:35:18
问题 I can query for all builds within a TeamProject as follows: var bServer = teamProjectCollection.GetService<IBuildServer>(); IBuildDetail[] builds = bServer.QueryBuilds("myTeamProject"); This yields all builds within the given myTeamProject . But I am only interested in yesterday's builds. I can obviously filter after I 've gotten the results within builds . Still I am wondering if there exists an overload of QueryBuilds() to get builds within a provided timespan. Background: In my original

What's the illegal character in this string ? I'm getting MSBUILD : error MSB3095

和自甴很熟 提交于 2019-12-10 15:20:56
问题 I was creating some build definitions in TFS2010 without problem until now. MSBUILD Command: C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe /nologo /noconsolelogger "C:\Builds\Neptune\Sources\\Branches\v5.0-Ehub\EHub-5.0.sln" /m:1 /fl /flp:"logfile=C:\Builds\Neptune\Sources\\Branches\v5.0-Ehub\EHub-5.0.log;encoding=Unicode;verbosity=detailed" /p:SkipInvalidConfigurations=true /p:OutDir="C:\Builds\Neptune\Binaries\\" /p:Configuration="Site" /p:Platform="Mixed Platforms" /p

What is the purpose of Binaries\_PublishedWebsites directory under TFS build

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-10 15:04:18
问题 TFS generates a publish directory under the build agent working directory: Z:\TFSBuilds\1\box\CT\Binaries\\_PublishedWebsites I am supposing that this is where TFS is automatically publishing the site. How can I use it for auto publishing of sites... as Should we refer our IIS website to this directory. What is the purpose of it? 回答1: Firstly, the working directory is as the name says, a "working" directory. That is where the build agent downloads the source, perform compiles etc. It also

Build cannot find entity framework

徘徊边缘 提交于 2019-12-10 15:03:35
问题 When I build my project in TFS it cannot find the entity fraemwork, yet when I look in the folder it is there; I get these error messages; Build started 14/02/2013 15:44:50. Project "C:\Builds\1\SCD\SCD - New Test\Sources\MVC\SCD\SCD.sln" on node 1 (default targets). ValidateSolutionConfiguration: Building solution configuration "Debug|Any CPU". Project "C:\Builds\1\SCD\SCD - New Test\Sources\MVC\SCD\SCD.sln" (1) is building "C:\Builds\1\SCD\SCD - New Test\Sources\MVC\SCD\SCD\SCD.csproj" (2)

Is Team Build 2012 compatible with Team Foundation Server 2010?

别说谁变了你拦得住时间么 提交于 2019-12-10 13:49:13
问题 What is the experience connecting Team Build 2012 to a Team Foundation Server 2010? We need to create a couple of more build agents, but Team Foundation Server will not be upgraded until a later time. 回答1: Confirmed: this will not work. You must upgrade TFS 2010 to 2012. I received an error attempting to install a 2012 build service against TFS 2010: "The register command is not supported for Team Foundation Server [my server] because the server is not compatible." After upgrading TFS 2010 to

Custom policies in Visual Studio 2012 and TFS 2010

妖精的绣舞 提交于 2019-12-10 13:37:49
问题 I installed Visual Studio 2012 and connect to TFS 2010. Unfortunately I can't check-in because of policy. I get an error: Internal error in Custom Path Policy. Error loading the Custom Path Policy (The policy assembly 'Microsoft.TeamFoundation.PowerTools.CheckinPolicies.CustomPathPolicy, Version=10.0.0.0, ...' is not registered.). Does anybody know how to resolve this problem? 回答1: Ok, after installing Power Tools for TFS11 I don't have this problem. 回答2: In Team Explorer, try right clicking

Is it possible to list all users in a TFS group from SQL Server

依然范特西╮ 提交于 2019-12-10 13:00:05
问题 I am trying to recover some group membership information from an old TFS 2010 server for which the application tier is no longer available (but the SQL back-end has not yet been deleted). I know there are command line programs to get security information but I am wondering if it is possible to get security information (specifically group membership) given only the database tables/views. 回答1: Here's a query I use to list all users and memberships within a TFS Collection. Select Object1

Share project documents in TFS different ways, what are your best practices? [closed]

一个人想着一个人 提交于 2019-12-10 12:38:51
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last year . I am wondering what your best practice is regarding managing (and versioning) different kind of project documents (like versioning targeted docs like: use cases, master test plan, qa plan and non-versioning related docs like MinutesOfMeetings for example) in TFS 2010. Are you

Replicate Team foundation server project to another team foundation server

邮差的信 提交于 2019-12-10 12:16:32
问题 Currently I am working on a teamfoundationserver1. I want to replicate my project from teamfoundationserver1 to my local teamfoundationserver2. Please suggest me the steps to perform this action. I am novice in this so please suggest me a good article or step by step implementation of this. 回答1: My suggestion, based on what you've said you require would be: Install TFS Power Tools. Map source directories for teamfoundationserver1 and teamfoundationserver2 . Create the team project in

Where are VS/TFS 2010 DIFF options at?

て烟熏妆下的殇ゞ 提交于 2019-12-10 11:07:37
问题 I'm newish to TFS and am working with VS and TFS 2010 RC releases. In every other DIFF tool I've used in the past I have had options for configuring how to treat whitespace differences, among other things. Where are these options when working with VS2010 and TFS2010? Thanks! 回答1: Your best choice when using the compare features in VSTS is to plug in your favorite 3rd party compare tool. Like, Beyond Compare, Araxis Merge, whatever. Then these settings are much more natural to you if you are