在VS 2008中,我总是使用Web部署项目来构建三种不同的环境。 这可能不是最好的解决方案,因为我仍然需要将构建的文件拷贝到服务器上,但它很简单。
现在VS 2010看起来很有前途,但看起来也很复杂。 我的托管服务提供商没有Web Deploy,这是VS 2010中部署的最新功能和旗舰技术。
我的问题是我怎样才能为每个环境构建并将文件复制到服务器上? 使用Build Deployment Package会创建ZIP文件,当我提取它时,它会输出如此多的文件和一个令人困惑的文件夹结构。 有没有人有什么建议?
With VS 2008 I always used Web Deployment Projects to build to three different environments. It is maybe not the best solution, since I still have to xcopy the built files to the server, but it is simple.
Now with VS 2010 it looks promising, but it also looks complicated. My hosting provider doesn't have Web Deploy, the newest feature and the flagship technology for deployment in VS 2010.
My question is how can I just build for each environment and copy the files over to the server? Using the Build Deployment Package will create the ZIP file and when I extract it, it will output so many files and a confusing folder structure. Does anyone have any suggestions?
最满意答案
有一个针对Visual Studio 2010的Web部署项目版本。Microsoft下载中心[is available][1]的Beta 1版本[is available][1] 。
这也是在Visual Web Developer团队博客上提到的 。
There is a release of Web Deployment Projects for Visual Studio 2010. The Beta 1 release [is available][1] from the Microsoft Download Centre.
This was mentioned on the Visual Web Developer Team Blog too.
更多推荐
发布评论