VS发布到蔚蓝的使用,而不是调试释放 [英] VS publish to azure uses debug instead of release

查看:247
本文介绍了VS发布到蔚蓝的使用,而不是调试释放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

难道只是我,或Visual Studio 2012年最新的更新,包目前的环境对发行出版,而不是在发布设置中指定的版本?

Is it just me, or Visual Studio 2012 with most recent update, package the current environment release upon publish, rather than the release specified in the publish settings?

推荐答案

更​​新:要强制它建立在释放模式我必须更新构建定义按本SO问题:
<一href=\"http://stackoverflow.com/questions/3498224/how-do-i-force-my-tfs-2010-build-to-build-all-projects-in-the-solution-to-be-bui\">How我做我的力量TFS 2010生成,生成所有项目的解决方案要建在调试或发布模式?

UPDATE: To force it to build in release mode I have to update the build definition as per this SO question: How do I force my TFS 2010 Build to build all projects in the solution to be built in Debug or Release Mode?

不知道为什么,我突然有强制执行,虽然该标志??

Not sure why I suddenly have to enforce this flag though??

这不只是你 - 我已经看到了同样的一个星期左右,现在无法弄明白。当我远程的到我的Azure虚拟机只见它已经公布了的web.config只是调试一 - 哎呀!也许它没有运行在web.config转换还是怎么了?

It's not just you - I've been seeing the same thing for a week or so now and couldn't figure it out. When I remoted into my Azure vm I saw the the web.config it had published was just the debug one - yikes! Maybe it's not running the web.config transforms or something?

这篇关于VS发布到蔚蓝的使用,而不是调试释放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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