tfsbuild

TFS 2010 Build Automation and post-build event

ε祈祈猫儿з 提交于 2019-11-30 01:53:40
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 configuration.... Any ideas? Is there something I could check for to know I'm running under TFS Build and

MSBuild and Webpack

守給你的承諾、 提交于 2019-11-30 00:44:45
I am developing an Angular2 application in VS2015 and have a webpack bundling and minification environment set up for the same. This is my webpack.conf.js switch (process.env.NODE_ENV) { case 'prod': case 'production': module.exports = require('./config/webpack.prod'); break; case 'test': case 'testing': //module.exports = require('./config/webpack.test'); break; case 'dev': case 'development': default: module.exports = require('./config/webpack.dev'); } I have also installed a webpack task runner which invokes this with the following commands cmd /c SET NODE_ENV=development&& webpack -d -

Check out git-lfs files on VSTF build

自作多情 提交于 2019-11-29 22:41:27
问题 I've a repository hosted on VSTS, containig a file stored through git-lfs. If I just let VSTS build checkout the repository it just downloads the git-lfs metadata file containing the ID of the file. Here's the output how VSTS gets its source: Syncing repository: MyRepo (Git) Checking out c84ef2f2bbad4fa3dc70dbd4100534390b9c8f18 to d:\work\73\s Checked out branch refs/heads/develop for repository MyRepo at commit c84ef2f2bbad4fa3dc70dbd4100534390b9c8f18 What do I need to do to checkout the

Build and Deploy a Web Application with TFS 2015 Build

核能气质少年 提交于 2019-11-29 22:29:46
We have just installed TFS 2015 (Update 1) on-premise and are trying to create a Continuous Integration/Build system using the new TFS Build system. The build works fine, and gives me a green light, but when I look at the default build it has only built the binaries from the bin directory, and there seems to be no easy way to deploy the app on-premise to a local server. There are two deploy options for a filesystem copy, and a powershell script, and it would certainly be easy enough to use them to copy files to a new server, but since the build only built the binaries, I don't see a tool to

How to setup TFS 2013 build definition to build from Git tag?

两盒软妹~` 提交于 2019-11-29 22:15:50
问题 I want to create a special build definition in TFS 2013 to build from tag. The source control used in that project is Git. So, let's say I have a tag called v1.0 . I want this build definition to pull the sources corresponding to that tag and run a build. Triggers don't matter for now - it could be even manual. How is that possible? I can see you only have an option to choose branch on the Source Settings tab... Consider the advanced scenario: a build is triggered when a new tag is created,

Could not find SDK SQLite.UWP.2015 when building UWP application using Hosted TFS pool

牧云@^-^@ 提交于 2019-11-29 21:14:27
问题 I have build a UWP application using Sqlite. On my local machine I had to install the following SQLite for Universal Windows Platform Visual Studio Extension to get it to build. I followed this blog when using sqlite on UWP I am now trying to implement Continuous integration with Visual Studio Team Services (was Team Foundation Server Online). I am using a Hosted pool to build my application but I get the following message: C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common

Why does Tfs2010 build my Wix project before anything else?

早过忘川 提交于 2019-11-29 18:12:51
问题 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

TFS 2015 as nuget server

送分小仙女□ 提交于 2019-11-29 17:02:16
We are currently testing whether we can replace our current build server (TeamCity) with TFS 2015 Build. Does anyone know of TFS 2015 has built-in Nuget Server like TeamCity. Thx Harshil Lodhi Package Management (NuGet with npm and maven coming soon) is currently only available for VSTS. The on-premises support for Package Management will come in the next version of TFS. Source - TFS Feature Timeline for 2016 VSTS and TFS now provide built-in support for Maven Package Management to compliment its support of NuGet and npm. https://blogs.msdn.microsoft.com/visualstudioalm/2017/05/22/visual

TFS: Best way to trigger build on server restart, or on Windows Updates installation

心不动则不痛 提交于 2019-11-29 16:00:40
In short, the requirement is to verify that our latest released software can be built and then installed after the latest Windows updates and/or other patches were applied. So the build server VM(s) will be configured just for this purpose and the build only needs to run after an update. Since such updates usually are followed with a restart, I am thinking of a server restart event triggering a build and deployment. Does such option exist in TFS 2017? If there is no way to do it through TFS then, I guess, a PowerShell script that runs on startup should work? No such a build-in function to

TFS 2015 - Delete Build Artifacts

大城市里の小女人 提交于 2019-11-29 15:19:24
How to step up TFS 2015 Update 2 to delete artifacts when build is deleted? Is this possible? EDIT: Add retention screen shot I am using the default retention policy but it is NOT deleting artifacts from the drive. EDIT: Add Copy and Publish Build Artifacts EDIT: Add Working Folder I added a powershell to display all environment variables and it said my workingFolder = E:TfsBuilds\Agent1_WorkPlace\5\s Do you a powershell to set workingFolder to default? Here is the file structure i have: PatrickLu-MSFT If you specify build retention policies , retention policies will delete the items below: