【发布时间】:2016-10-21 14:29:25
【问题描述】:
我正在尝试使用 Web Deploy 和 Visual Studio 将应用程序部署到远程 IIS。我只能推送单个文件,但是当我尝试发布整个项目时,它很快说它成功但什么也没推送。它将输出构建到目录中,但从不将其复制到服务器。
另外,当我尝试发布 wwwroot 文件夹时,它会抱怨另一件事,这并没有带来太多好处:
"Could not connect to the remote computer using the specified process ("Web Management Service") because the server did not respond. Make sure that the process ("Web Management Service") is started on the remote computer. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_COULD_NOT_CONNECT_TO_REMOTESVC. The remote server returned an error: (400) Bad Request."*
*Web 管理服务正在远程机器上运行。
我正在使用:
IIS 版本为 8.5、Webdeploy 3.6、Visual Studio 2015。 该应用程序是一个 .NET Core 应用程序。
【问题讨论】:
-
谢谢,缺少的是在发布模块中将 1.0.1 更改为 1.0.2-beta2。
标签: visual-studio-2015 asp.net-core .net-core webdeploy windows-server-2012-r2