简体   繁体   English

当我尝试通过FTP Visual Studio崩溃发布带有Visual Studio 2013的网站时

[英]When i try to publish a website wtih visual studio 2013 via FTP visual studio crashes

i'm having trouble publishing my website in visual studio 2013 itself. 我在Visual Studio 2013本身中发布网站时遇到问题。 I've installed the latest version of visual studio and the latest version of vswebessentials. 我已经安装了Visual Studio的最新版本和vswebessentials的最新版本。 I love working on websites in visual studio but it would be easier if i could publish it within visual studio. 我喜欢在Visual Studio中的网站上工作,但是如果可以在Visual Studio中发布它会更容易。 I'm trying to publish it via the publish web menu to ftp visual studio stops and restarts. 我正在尝试通过发布Web菜单将其发布到ftp visual studio,然后停止并重新启动。 It happens when i've entered all the information needed for the ftp connection wehn i push the validate connection button or the publish button. 当我输入了ftp连接所需的所有信息后,即按确认连接按钮或发布按钮,就会发生这种情况。 I would like to make it work but i can't find the solution on the internet yet. 我想使其工作,但我在互联网上找不到解决方案。 I would be really gratefull for some help. 我真的很感谢您的帮助。

I've had this issue as well, and the solution for me was to change the publish URL in the pubxml file from: 我也遇到了这个问题,对我来说,解决方案是将pubxml文件中的发布URL更改为:

ftp.mysite.com ftp.mysite.com

to

ftp://ftp.mysite.com ftp://ftp.mysite.com

Steve is on the right track. 史蒂夫走对了。 It seems that previously you only needed to supply the IP or domain of the FTP server and Visual Studio knew what to do. 以前似乎只需要提供FTP服务器的IP或域,Visual Studio知道该怎么做。 Somewhere along the line it must have forgot! 沿线某个地方一定已经忘记了!

Here is a blog post detailing the issue and how to fix it: FTP Publish Visual Studio Crash 这是一篇详细介绍该问题及其解决方法的博客文章: FTP发布Visual Studio崩溃

TL;DR = Make sure the value you use for "Server:" begins with "ftp://" TL; DR =确保用于“服务器:”的值以“ ftp://”开头

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM