Nopcommerce - how to set up an administrator in a new project

As the name implies, we are creating a new application and would like to create our administration area as a new project, as nopcommerce does.

We are trying this in an example project at the moment, and what we still have: -

  • Created a new MVC application called App1
  • Right-click the solution> add new project - the selected MVC application and changed the location to the new administrator folder in App1. All this now looks the same as nopCommerce.

  • Right-click the Admin project, during the build process, change the output to .. \ bin \

As far as I can see, does this look like this?

I rebuild the solution and check the bin directory in the application, and the dll from the admin site is all there.

I release the main site (App1) and check. There is no admin folder in the bin folder and no dll admin.

What other steps are we missing?

UPDATE: Ive added a new project to the nopcommerce solution using the same steps 2 and 3, and it works without problems. So it seems that there is something inside the web project or against a solution in nopcommerce that does the job. Any ideas?

+5
source share

Source: https://habr.com/ru/post/1265855/


All Articles