How to correctly publish nopCommerce?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
9 years ago
Hello!

I'm using nopCommerce 3.0 and I've used the guide on how to add a property to an existing entity.

When running in Visual Studio, everything works. For some reason, it does not work out of Visual Studio.

I'm left clicking nopCommerce Web Project and selecting "Publishing" to File System. Then I repeat that with the Administration project. Then I move the published files into the Virtual Directory, create a directory "Administration" and put the files from Administration compilation inside.

What happens is: In the Web Project everything works. In the Administration project it doesn't. I get an error saying that my model does not contain the property I added (even though it works when running inside Visual Studio and obviously it even autocomplete the name of the property inside the view designer).

I believe I'm not publishing the right way.

Could anyone help? Thank in advance.
9 years ago
Please see this article. Read the following section:

If you're using nopCommerce 2.00-3.10, then please note that publishing these versions of nopCommerce using Visual Studio is unlike publishing a regular web application.
...
9 years ago
Please check https://www.nopcommerce.com/boards/t/27702/how-to-publish-nopcommerce-32-admin-site-from-source-code.aspx
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.