如何发布完整的网站而无需编译和复制SVN文件 [英] How to publish a full website without compiling and without copying SVN files
问题描述
显然,DNN安装不喜欢被预编译(这样它们将无法找到任何本地化的字符串).我们的安装安全地放在SVN中,这意味着我不能只复制整个目录.要发布所有内容,我需要复制整个网站目录,而不包含SVN文件和目录.到目前为止,我一直在使用良好的旧DOS命令,这既耗时又容易出错.
Apparently, DNN installations do not like to be precompiled (they won't be able to find any localized strings then). Our installation is safely put in SVN, which means I cannot just copy the whole directory. To publish everything, I need to copy the whole website directory without the SVN files and directories. So far, I've been messing with good old DOS commands, which is time consuming and error prone.
有人可以帮我建立一个MS-Built脚本或执行此操作吗?还是可以使用默认的Visual Studio 2010命令来执行此操作?
Can someone help me to an MS-Built script or step to do just this? Or can I do this using default Visual Studio 2010 commands?
注意:这是一个网站,而不是一个 Web应用程序.
Note: this is a website, not a web application.
推荐答案
Visual Studio
-> Solution Explorer
-> <web site>
-> <right click>
-> Publish Web Site
或Copy Web Site
Visual Studio
-> Solution Explorer
-> <web site>
-> <right click>
-> Publish Web Site
or Copy Web Site
这篇关于如何发布完整的网站而无需编译和复制SVN文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!