In Solution Explorer window: Expand Presentation -> Click "Nop.Web" 2. In VS Community 2017 menu:Build -> Publish Nop.Web 3. In "Pick a publish target": Select "Folder" 4. Specify the target directory 5. Click "Publish" 6. Wait for process to complete. 7. Review directory structure. Directory structure is not what was expected (no bin directory, DLLs as siblings to App_Data, etc.)
Don't forget to Install .NET Core Window Server hosting runtime from here.
In addition , You have to follow this document for host application on iis.
Thanks, I got it to work. I had the DotNetCore stuff on IIS installed and had the published folder up, but it turned out to be the Application Pool setting "Disable Overlapped Recycle" had to be set to "true" (once I figured out the path was not wwwroot, but the folder above that).
"7. Review directory structure. Directory structure is not what was expected (no bin directory, DLLs as siblings to App_Data, etc.)"
What does this mean? And where do I host from, the root of the site or wwwroot? Not working for me, and I don't understand why I have all the dlls exposed in the root of the folder.
@edgalt1 It applies to "In Solution Explorer window..." I.e. the source code version. Are you using source code or "without source"? As per the Download page:
Package without source code Download this package if you want to quickly deploy your site to a web server.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.