views:

60

answers:

1

I have an application that we use internally that is deployed through ClickOnce. We have 5 locations that I deploy the Install to manually by changing the Location Settings and running the Publish 5 times.

We have TFS 2010 but I am unfamiliar with using it for anything besides Source Control. I would like to explore the possibility of using Team Foundation Server (2010) to accomplish this. Is this something TFS is capable of doing if configured correctly?

+1  A: 

Take a peek into MSBuild and its XML based schema/configuration. At a previous position, I had a MSBuild task setup to push out ClickOnce deployments with ease, once you nailed one getting the 4 others would be simple repetition. I recall MSBuild having a bit of a learning curve.

Helpful links:
Building ClickOnce Applications from the Command Line
Publishing a ClickOnce project with command-line MSBuild

I don't doubt that TFS has something useful for MSBuild, an GUI based setup perhaps, but I cannot say.

Pat
Can you sum up what MSBuild does for me vs ClickOnce or is that a seperate post? I always thought you used one or the other.
Refracted Paladin
@Refracted Paladin: ClickOnce publishes the application (and provides updating features etc.), after msbuild builds/compiles it. It only gets a bit fuzzy when you consider all of the msbuild tasks available goes far beyond just building the application. (http://msbuildtasks.tigris.org/ for example)
SnOrfus
From what I understand, you can use MSBuild to build your app, and it wraps mage to sign the manifests. Then it will copy the files to a file share, but not to a webserver, so you would have to find another way to automate that bit, like use some kind of script.
RobinDotNet
MSBuild is pretty flexible, you can copy also, http://msdn.microsoft.com/en-us/library/3e54c37h.aspx.
Pat