我正在尝试将MVC网站发布到本地文件系统。这最初有效,但经过几次停止工作。发布配置文件是Release(Any CPU),但我得到的输出是:
------ Publish started: Project: MyWebsite.InternalAPI.2, Configuration: Release Any CPU ------
12>Connecting to C:\inetpub\wwwroot\InternalApi...
12>Copying all files to temporary location below for package/publish:
12>obj\Debug\Package\PackageTmp.
12>Publishing folder /...
12>Site was published successfully file:///C:/inetpub/wwwroot/InternalApi
12>
========== Build: 11 succeeded, 0 failed, 3 up-to-date, 0 skipped ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========
我看过这里发布的问题:Visual Studio 2012 Web Publish doesn't copy files 我没有成功地尝试了答案中的所有解决方案。
有人有什么想法吗?