1. First open the server add function
2. Download and install WebDeploy
This is the thing, my server is 64-bit, if it is used by local iis, look at how many bits of your system is installed after downloading it.
3. Turn on the service
4. Open IIS configuration remote connection
Once configured, restart IIS
5. Open Tencent Cloud, configure the firewall, and add port 8172
The server thing is configured here, and then configure VS
6. Select the project to publish
(1) Select WebServer (IIS)
(2) Select Web Deploy
(3) Configure the server information, this is the configured screenshot
(4) Just publish