Question
How to configure Visual Studio on a remote computer to perform Web Deploy to a Plesk for Windows server?
How to download the Web Deploy Settings for a website?
Answer
Warning: Web Deploy (Web Deployment Tool) is a Microsoft tool. In case of issues, contact Microsoft support for assistance.
Note: To learn more about publication settings in Visual Studio®, see the official documentation.
-
Go to Tools & Settings > Updates & Upgrades > Add/Remove Components and install Microsoft Web Deploy.
-
Enable the option Web Deploy publishing in Service Plans > plan_name > Hosting Parameters > Advanced and click Update & Sync to apply the changes:
-
Go to Domains > example.com > Hosting Settings and enable the option Web Deploy publishing.
-
Download the Web Deploy publishing settings file by clicking Web Deploy Publishing Settings in Domains > example.com.
-
Open an application in Visual Studio and select Build > Publish [AppName].
-
Click Import and browse for the configuration file downloaded from Plesk.
-
Click Validate Connection to confirm you have the correct settings.
Note: The settings will be updated automatically, except for the password. Enter the same credentials in use for the role-based FTP login.
Additional information
Plesk Administrator’s Guide – Web Publishing with Web Deploy (Windows)