Visual Studio 2012不发布项目

时间:2023-01-27 10:52:56

I have a Visual Studio 2012 web project that I am publishing to a Windows Server 2008 R2 server. I was having issues with the updates I was making locally not working on the remote server. When I checked the "Delete all existing files prior to publish" it successfully deleted the files from the server but then didn't add the new files - and yet claimed (in VS2012) that the publishing had been successful.

我有一个Visual Studio 2012 Web项目,我将发布到Windows Server 2008 R2服务器。我遇到的问题是我在本地做的更新不在远程服务器上工作。当我检查“在发布之前删除所有现有文件”时,它成功地从服务器删除了文件,但之后没有添加新文件 - 并且声称(在VS2012中)发布已成功。

If I copy the PackageTmp folder up into the directory on the server manually, then everything works fine. Why is VS 2012 thinking it is copying but isn't really?

如果我手动将PackageTmp文件夹复制到服务器上的目录中,那么一切正常。为什么VS 2012认为它是复制而不是真的?

1 个解决方案

#1


4  

See Visual Studio 2012 Web Publish doesn't copy files

请参见Visual Studio 2012 Web Publish不复制文件

And Microsoft connect

和微软连接

#1


4  

See Visual Studio 2012 Web Publish doesn't copy files

请参见Visual Studio 2012 Web Publish不复制文件

And Microsoft connect

和微软连接