How to use vs 2017 to publish mvc area to iis in .NET Core 2.1

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
guys. I'm using .NET Core2.1

I have no idea how to use vs 2017 to publish the mvc area.

I published but the area didn't include in the published folder.

I want to know how nop team published it.

Thanks for help!!!
5 years ago
Open Project in VS2017 (use as a minimum the latest community version)

Click on Presentation to open directory
Right mouse click on Nop.Web and click Set as Startup project
Right mouse click on Nop.Web and click Build
Right mouse click on Nop.Web and click Publish
Select publish option either File System, FTP, etc

I always use File System and publish to a local directory (this becomes my current production version)
Then you can either
- Point Local IIS to that directory for final testing
- Copy or FTP the complete folder to remote production server
5 years ago
Yidna wrote:
Open Project in VS2017 (use as a minimum the latest community version)

Click on Presentation to open directory
Right mouse click on Nop.Web and click Set as Startup project
Right mouse click on Nop.Web and click Build
Right mouse click on Nop.Web and click Publish
Select publish option either File System, FTP, etc

I always use File System and publish to a local directory (this becomes my current production version)
Then you can either
- Point Local IIS to that directory for final testing
- Copy or FTP the complete folder to remote production server


Thanks.I published the nopcommerce just now.All is good.But when i create a new mvc project(core 2.1),add an area,
when i publish using File System,and the published folder doesn't include the area folder.
I don't know somewhere i should be configure.
5 years ago
Please take a look at developers guide. You won't be able to find every answer but a good start :)
5 years ago
dianoche wrote:
Please take a look at developers guide. You won't be able to find every answer but a good start :)


Thanks, i already figure it out.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.