仅Web部署更改文件 [英] Web deploy change files only

查看:68
本文介绍了仅Web部署更改文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将Visual Studio 2012 Express与TFS 2012 Express结合使用,并且我已经设置了发布配置文件,以将Web窗体应用程序发布到暂存区域.

Im using Visual Studio 2012 Express with TFS 2012 express and I have setup a publishing profile to publish my web forms application into my staging area.

如果我在应用程序中更改了1个文件然后将其发布,则表明我需要在应用程序中发布所有内容,而不仅仅是发布更改.

If I change 1 file within my application and then publish it, it is detecting that I need to publish everything within my application instead of just the changes.

我具有要在发布期间进行预编译的配置文件设置,然后在用于预编译的配置下,可以将允许预编译的站点更新为UNTICKED,然后将所有输出合并到单个程序集中.

I have my profile setup to precompile during publishing then under the configuration for precompile I have the allow precompiled site to be updateable UNTICKED and then I merge all outputs into a single assembly.

如果我不合并它们并允许更新,那么它可以正常工作,有没有办法在没有这些设置的情况下使它工作?

If I dont merge them and allow updates then it works fine, is there a way to get it working without having these set?

推荐答案

DreamOn01,您好

Hi DreamOn01,

我可以知道,如果您仅修改前端即HTML页面,那么该设置可以正常工作吗?

May i know if you only modify your frontend which is your HTML page, will the setting works fine?

另一个问题是您正在使用网站还是Web应用程序.

Another question is you are working for Web site or Web Application.

据我所知,可更新检查表示修改后的HTML页面可以工作,但后端将无法工作.

As I know updateable checked means the modified HTML page can work but the backend wont work.

这是我在StackOverFlow上找到的关于预编译可更新说明的内容: http://stackoverflow.com/questions/11975787/what-is-the-difference-between-allowing-a-precompiled-visual-studio-web-page-to ,此设置仅适用于网站但不是Web应用程序.

Here is what I found on StackOverFlow for the precompile updateable explanation: http://stackoverflow.com/questions/11975787/what-is-the-difference-between-allowing-a-precompiled-visual-studio-web-page-to, the setting is only workable for web site but not web application.

另外为您提供了一个非常有用的链接: https://docs.kentico.com/display/K8/Precompiling+websites

Additionally a quite usefule link for you: https://docs.kentico.com/display/K8/Precompiling+websites

======

到第三方World Wide 网站. Microsoft为方便您而提供此信息. Microsoft不控制这些站点,也没有测试在这些站点上找到的任何软件或信息;因此,Microsoft无法就质量做出任何陈述, 安全性,或在那里找到的任何软件或信息的适用性.使用Internet上发现的任何软件都存在固有的危险,Microsoft提醒您在从以下位置检索任何软件之前,请确保您完全了解风险. 互联网. span>

This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

-詹姆斯


这篇关于仅Web部署更改文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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