简体   繁体   中英

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. I've installed the latest version of visual studio and the latest version of vswebessentials. I love working on websites in visual studio but it would be easier if i could publish it within visual studio. I'm trying to publish it via the publish web menu to ftp visual studio stops and restarts. 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. 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:

ftp.mysite.com

to

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. 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

TL;DR = Make sure the value you use for "Server:" begins with "ftp://"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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