Visual Studio publish only supports importing web deploy.
Is there a workaround?
We have everything ready on the server and the IIS to run our website, so we just need to publish our ASP.NET Core Web API publish files to our empty folder on the server. press next, then put the path as the new folder within your server (if the new folder is accessible via a shared link from your machine).
Visual Studio publishing profiles supports pure FTP as a target. It does not support SFTP however.
These are the options you should see:
Update since noted ASP.NET 5
With the details that the project is ASP.NET 5 / vNext, at this time, FTP and Web Deploy are not supported yet in the UI of Visual Studio. There's a blog out there following these steps to import an FTP profile:
Open notepad and create a publishing profile to save to your file system.
<?xml version="1.0" encoding="utf-8"?> <publishData> <publishProfile profileName="FTP" publishMethod="FTP" publishUrl="ftp://ftpaddress" userName="username" userPWD="password" destinationAppUrl="http://wwwaddress" /> </publishData>
Select "Import" from the publish targets and import the publishing profile.
Link to Blog: http://blog.discountasp.net/publishing-an-asp-net-5-vnext-application/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With