如何在 Visual Studio 2010 中创建 Web Deploy 2.0 项目?
我们使用 Visual Studio 2010 通过 Web 部署发布到 IIS。我现在已经在客户端和服务器上升级到Web Deploy 2.0(通过卸载旧版本并安装新版本)。
从 Visual Studio 中,它似乎仍然在创建 Web 部署 1.0 包。这就是我困惑的地方。 Visual Studio 如何与 Web 部署集成?如何让 Visual Studio 创建 Web Deploy 2.0 包?
We are using Visual Studio 2010 to publish to IIS using Web Deploy. I have now upgraded to Web Deploy 2.0 on the client, and the server (by uninstalling the old version and installing the new version).
From Visual Studio, it still seams to be creating web deploy 1.0 packages. This is where I am confused. How does Visual Studio integrate with Web Deploy? How do I get Visual Studio to create Web Deploy 2.0 packages?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
谢谢你的帖子。
我刚刚发现一个文档可能会有所帮助,它说明了 Web 部署的安装和启用:
http://weblogs.asp.net/scottgu/archive/2010/09/13/automating-deployment-with-microsoft-web-deploy.aspx
此外,我认为 Web 部署与 ASP.Net 更相关,如果您可以在以下位置发布另一个线程:
http://forums.asp.net/26.aspx?Configuration+and+Deployment
相信您可以获得更多有用的信息。
希望这能有所帮助。
Thanks for your post.
I just found a doc might help, it illustrates the installation and enabling of web deploy:
http://weblogs.asp.net/scottgu/archive/2010/09/13/automating-deployment-with-microsoft-web-deploy.aspx
Moreover, I think web deploy is more relevant to ASP.Net, and if you can post another thread at:
http://forums.asp.net/26.aspx?Configuration+and+Deployment
I believe you can get more useful information.
Hope this can help.
我成功了。 Web 部署生成的批处理文件正在检查注册表中的 v1.1。编辑它以检查 v2 是否适用于仅安装了 v2 的服务器。
安装 Visual Studio 服务包后,我现在看到批处理文件不同,并且不再执行注册表检查,因此适用于 Web 部署客户端 1 和 2。
I got it working. The batch file that was being generated by web deploy was checking for v1.1 in the registry. Editing it to check for v2 works on a server that only has v2 installed.
After installing the Visual Studio service pack, I see now that the batch file is different, and no longer does a registry check so works with web deploy clients 1 and 2.