Since the release of Visual Studio 2017, there are some issues deploying using the publishing settings file.
Â
There appears to a bug where visual studio will attempt to deploy a site so the servers root rather than a website hosted on that server resulting in errors such as:
Web deployment task failed.(Could not connect to the destination computer ("win005.verysecureservers.org.uk").On the destination computer, make sure that Web Deploy is installed and that the required process("The Web Management Service") is started.)
Â
To get around this you will need to change your server address (please note your server address may be different as this is an example):
FROM:Â https://win005.verysecureservers.org.uk:8172
TO:Â https://win005.verysecureservers.org.uk:8172/msdeploy.axd?site=HOST
*Change the 'HOST' part of the last URL to your site address (e.g. hostinguk.net)