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.
-
Install the component Microsoft Web Deploy using Plesk Installer.
-
(Only for servers with Web Pro and Web Host edition licenses) 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 & DNS > Hosting Settings, enable the option Web Deploy publishing, and click OK or Apply to apply the change.
-
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)