Web Deploy 3.6 for Hosting Servers provides additional configuration features that enable the creation of the publish settings file from the UI.
#Visual studio publish to iis package install
Install and configure Web Deploy on Windows Server You can, however, still publish to IIS using the Publish tool in Visual Studio. IIS on Windows does not support generating the publish settings. To set up ASP.NET 4.5, see IIS 8.0 Using ASP.NET 3.5 and ASP.NET 4.5. For ASP.NET Core, make sure you configure the Application Pool to use No Managed Code, as described in the article. To set up ASP.NET Core, see Host ASP.NET Core on Windows with IIS. Either ASP.NET 4.5 or ASP.NET Core must also be installed on the server. On your server, you must be running Windows Server 2012, Windows Server 2016, or Windows Server 2019, and you must have the IIS Web Server role correctly installed (required to generate the publish settings file ( *.publishsettings)).
![visual studio publish to iis package visual studio publish to iis package](https://docs.microsoft.com/en-us/iis/publish/using-web-deploy/building-a-web-deploy-package-from-visual-studio-2010/_static/image19.png)
Add the workload by selecting Tools > Get Tools and Features.
![visual studio publish to iis package visual studio publish to iis package](https://image.slidesharecdn.com/webdeploy-161129110821/95/web-deploy-2-638.jpg)
Install the latest updates in Visual Studio by selecting Help > Check for Updates.If you've already installed Visual Studio: Visual Studio installed with the ASP.NET and web development workload.
![visual studio publish to iis package visual studio publish to iis package](https://miro.medium.com/max/768/1*WN3ADv4RVOznZfbP4EA-_Q.png)
Visual Studio creates the publishing profile. A publish settings file is created in IIS, and then it can be imported into Visual Studio. A publish settings file ( *.publishsettings) is different than a publishing profile ( *.pubxml).