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):
*Change the 'HOST' part of the last URL to your site address (e.g. hostinguk.net)