tfsbuild

Is there a way to speed up the builds in visual studio team services (and TFS)

↘锁芯ラ 提交于 2019-11-30 12:33:46
问题 Our team has set up continuous integration using visual studio online. We have tried cranking up our subscription to advanced with a paid build limit that we are nowhere near reaching. However, build times are exceptionally slow. The builds will sit in a queue for several minutes then take several minutes to run [even when testing adding Nuget packages to source control]. Is there any way to speed up builds in Visual Studio Online? If not what are some good alternatives? I see acceptance or

TFS 2010 Build Automation and post-build event

扶醉桌前 提交于 2019-11-30 11:59:21
问题 In the project I've inherited, the original developer used a number of post-build events in his Visual Studio projects to copy around DLL's and stuff when building inside VS. This is causing some grief now that I'm trying to move these things to the TFS 2010 Build system. I was hoping to be able to create a new "Continuous" project configuration, and exclude those post-build events from Visual Studio in that configuration - but it seems those calls aren't configurable based on your project

Why does Tfs2010 build my Wix project before anything else?

 ̄綄美尐妖づ 提交于 2019-11-30 11:49:59
A similar question was asked and answered about a year ago, but was either a different issue (everything was in beta) or misdiagnosed. It's located here: MSbuild task fails because "Any CPU" solution is built out of order . My issue is that I have a wix installer project, and after upgrading to Tfs2010 on monday, the build fails on linking because it can't find the build product of the Wpf application in the project. After some digging, it's because it hasn't been built yet. Building in Vs2010 works as normal. The wix project is set to depend on the Wpf project, and when viewing Project Build

Can assembly version been automatically updated with each TFS 2010 Build?

此生再无相见时 提交于 2019-11-30 09:09:02
I'm using Visual Studio 2010 and TFS 2010. Is there a way that dll version be automatically incremented with each TFS build? Thanks I have a blog post on how to version your assemblies in TFS Build 2010: How to Create a Custom Workflow Activity for TFS Build 2010 RTM Try TfsVersioning build definition. It can be alse extended with Nugetter to create a NuGet package and upload it to a repository. You can use Version task from msbuildtasks Here's blog post by Jeremy Jameson with step-by-step instructions on how to use it. 来源: https://stackoverflow.com/questions/3252643/can-assembly-version-been

Build error in tfsbuild with database project

无人久伴 提交于 2019-11-30 08:21:34
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 fix it? Preet Sangha You need to install the SQL Server Data Tools on all build agents . When installing

Git submodule fails on TFS Build

僤鯓⒐⒋嵵緔 提交于 2019-11-30 07:15:47
When I try to build using TFS with Git, there's a limitation whereby TFS's git provider doesn't yet support sub modules. Bit of a pain, but what the heck, I'm able to tell TFS to run a Batch file prior to compilation. I've used this to call a manual git script to update all my submodules in my "super" project. The command this batch file runs is simply: git submodule update --init --recursive This worked fine and dandy before I migrated the submodule source to TFS, however now the TFS build is failing, because the above git module script no longer works. So, what TFS does before a build is

Stop Refresh inside TFS Build window in Visual Studio

时光毁灭记忆、已成空白 提交于 2019-11-30 07:05:03
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 once getting to the bottom, scrolling again because the window reset. Is there a way to turn off this

MSDeploy batch file does not handle quotes anymore

空扰寡人 提交于 2019-11-30 06:41:56
As part of our build process we deploy our web applications using MSDeploy. This worked perfect until a few weeks ago (I think when we updated our build/TFS server to SP1 of TFS 2010). In our build definition there is a step to invoke a process. This process will call the generated deploy.cmd file and passes in a couple of additional parameters. This worked fine for a long time, but now we get this: Error: Unrecognized argument '"-skip:objectName=filePath,absolutePath=.*cmsservices.config"'. All arguments must begin with "-". As described in the help we pass the additional arguments in with

Is there a way to speed up the builds in visual studio team services (and TFS)

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-30 04:54:38
Our team has set up continuous integration using visual studio online. We have tried cranking up our subscription to advanced with a paid build limit that we are nowhere near reaching. However, build times are exceptionally slow. The builds will sit in a queue for several minutes then take several minutes to run [even when testing adding Nuget packages to source control]. Is there any way to speed up builds in Visual Studio Online? If not what are some good alternatives? I see acceptance or setting up our own continuous integration server on an Azure VM as a worst case fallback. jessehouwing

Build Breaker Plugin with SonarQube 5.2

感情迁移 提交于 2019-11-30 03:53:44
It seems like the Build Breaker Plugin is no longer compatible with SonarQube 5.2. Is there any alternative to have a (VSO) build fail if a Sonar gate is not fulfilled or are there plans to update the Build Breaker Plugin to 5.2? There is not (for now) any plugin which will break build when Quality Gate did't pass on SonarQube 5.2. But for SonarQube 5.3+ you can again use Build Breaker plugin. From mailing list: Breaking the build in SonarQube 5.2 (21/Oct/2015) Fabrice Bellingrad : The Build Breaker Plugin won't be available for SQ 5.2+. The idea is to develop a core feature to answer the use