Visual Studio 2012 - 数据库项目 - 为发布设置默认配置文件 [英] Visual Studio 2012 - Database Project - setting a default profile for publish

查看:64
本文介绍了Visual Studio 2012 - 数据库项目 - 为发布设置默认配置文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是想知道是否有人知道如何将保存的发布配置文件设置为默认配置,即在我选择发布时自动加载的配置文件.我喜欢新的配置文件方法,但我在开发过程中不得不一遍又一遍地重新选择相同的配置文件.

Just wondering if anyone knows how to set a saved publish profile as the default i.e. profile that's automatically loaded when I select publish. I love the new profile approach but I'm a bit over having to reselect the same profile over and over while I'm developing.

推荐答案

所以我刚刚发现了如何做到这一点,右键单击您希望发布的特定 .xml 文件(例如 Debug.publish.xml),然后它会自动加载到发布"面板中.

So I've just discovered how to do this, right click on the specific .xml file (e.g. Debug.publish.xml) that you wish to publish and it is automatically loaded into the Publish panel.

双击 XML 文件也可以

Double clicking the XML file also works

最新的 Visual Studio 2012 更新现在还包括右键单击选项:

The latest Visual Studio 2012 Updates also now include right click options for:

1 - 设为默认值
2 - 发布

1 - Set as default
2 - Publish

这篇关于Visual Studio 2012 - 数据库项目 - 为发布设置默认配置文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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