部署 WPF 应用程序的最简单方法是什么? [英] What's the simplest possible way to deploy a WPF application?

查看:35
本文介绍了部署 WPF 应用程序的最简单方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 WPF 应用程序,使用 TFS 2010 开发.我想出了如何使持续集成构建基本正常工作.成功后,我希望将构建复制到网络位置.我不清楚是否应该使用放置位置"或发布"选项.我真的只想要最简单的部署:构建输出的直接副本.

I've got a WPF application, developed using TFS 2010. I figured out how to get the continuous integration build basically working. On success, I want the build copied to a network location. It's not clear to me if I should be using the "drop location" or "publish" options. I really just want the simplest possible deployment: straight copy of build output.

在 TFS 2010 中是否有直接的方法来执行此操作?

Is there a straight-forward way to do this in TFS 2010?

推荐答案

听起来您想在使用 out-of-the-box 默认模板工作流程.这将从您的构建输出中复制所有内容,包括用于调试的符号等.如果您希望以最简单的方式将应用程序复制到网络共享,如上所述.

Sounds like you want to use the 'This Build copies output to drop folder' option in the Build Defaults tab of a Build Definition that uses the out-of-the-box Default Template workflow. This will copy everything from your build's output including the symbols for debugging, etc. I'd recommend do this if you want the simplest way to copy the application to a network share as you stated above.

这篇关于部署 WPF 应用程序的最简单方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆