答案 0 :(得分:5)
Visual Studio发布配置文件支持纯FTP作为目标。但它不支持SFTP。
您应该看到以下选项:
自着名的ASP.NET 5后更新
项目的详细信息是ASP.NET 5 / vNext,目前在Visual Studio的UI中尚不支持FTP和Web Deploy。按照以下步骤导入FTP配置文件,有一个博客:
打开记事本并创建发布配置文件以保存到文件系统。
<?xml version =" 1.0"编码=" UTF-8"> < publishData> < publishProfile profileName =" FTP" publishMethod =" FTP" publishUrl =" FTP:// ftpaddress"的userName ="用户名" userPWD ="密码" destinationAppUrl =" HTTP:// wwwaddress" /> < / publishData>
选择"导入"来自发布目标并导入发布配置文件。
链接到博客:http://blog.discountasp.net/publishing-an-asp-net-5-vnext-application/