Reputation: 61646
I right-clicked on the project and selected Publish
. I chose Folder as the target and VS 2017 published it to that folder.
I want to copy the output to IIS so that I can host it. Which folder should IIS point to in the output?
The output contains a bunch of folders and I've tried to get IIS to point to some of them without any success. In addition, I am not seeing a default.htm or anything traditional like that.
So where should IIS point to?
Upvotes: 1
Views: 392
Reputation: 62300
You will need to copy whatever you see inside the screenshot under PublishOutput to a folder in web server. For example, C:\inetpub\wwwroot\yourapplication
.
Then in IIS, Add Website
or Add Application
depending on your requirement.
In addition, you will need to install .NET Core Windows Server Hosting bundle on the web server.
Upvotes: 1