Question

I have been working with a TFS project that supports copying build output to source control. If I open the build definition, this is under "Build Defaults". There is an option to copy build output to a source control folder.

I have just installed TFS Server 2013 (with update 2) and I want to use this feature with a new Team Project. However, if I create new build in VS 2012 or VS 2013 on the new server, I am not given the option to copy build output to source control. What gives?

I am not looking for a workaround, I want to know what to change so that my server acts like the first one I described. Thanks!

Screenshots of what I'm talking about: http://imgur.com/a/mhDNQ

Was it helpful?

Solution

This was a feature that was temporarily present in TFS, but I believe has since been removed. If I recall it was put in there specifically to support the cloud-hosted elastic build servers which didn't have access to network shares to drop the builds in.

Most people recommend against putting your build outputs into TFS. The best approach is to publish them to a NuGet feed.

In any case if you want to put your build outputs into TFS (or a NuGet feed) you'll have to modify the build workflow to do that yourself.

OTHER TIPS

Open a new build definition > process.

Under template select new and you should be able to choose project and folder. Find your original template and link it. Your option should appear.

In TFS 2013 this has changed to be "store drops in TFS". When you select this option the drop I'd stored in a new inversioned store that you can access.

While you can easily get the files out as indecision or zips the built in tools like release management do not support it yet. I would recommend that you use this option but publish your assets to a nugget repository.

If your TFS is available online (VSO or https) then you can use MyGet to dynamically load the nugget packages that you are publish and make them available on a feed.

http://docs.myget.org/docs/how-to/use-tfs-online-git-with-myget-build-services

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top