Installation of nopCommerce 3.40 - Web vs. Source code

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
10 anni tempo fa
Hello,

On my development machine I have the source code version installed for debugging.
I've uploaded the Web , no source, version to my live server.

However, there are cases when modification of the templates or cshtml files is not enough, and you will need to update the code itself.

I've tried to do a minor change in ProductController.cs (following this discussion).

As far I understand, this file complies to Nop.Web.dll.
However, the size of Nop.Web.dll on the source version is ~688kb, while the Nop.Web.dll version on the no source is ~633kb.

When I tried to replace the live Nop.Web.dll with the local development version - the site didn't work.

Any advice how can I update the live site with the compiled code ?

Thanks
10 anni tempo fa
ran2010 wrote:
Hello,

On my development machine I have the source code version installed for debugging.
I've uploaded the Web , no source, version to my live server.

However, there are cases when modification of the templates or cshtml files is not enough, and you will need to update the code itself.

I've tried to do a minor change in ProductController.cs (following this discussion).

As far I understand, this file complies to Nop.Web.dll.
However, the size of Nop.Web.dll on the source version is ~688kb, while the Nop.Web.dll version on the no source is ~633kb.

When I tried to replace the live Nop.Web.dll with the local development version - the site didn't work.

Any advice how can I update the live site with the compiled code ?

Thanks


Hi,

I think this forum post will help you :)
https://www.nopcommerce.com/boards/t/32065/how-to-update-a-view-of-a-published-store.aspx
10 anni tempo fa
Thank you for your response.

However, as I've mentioned, I need to change the code of ProductController.cs , a .cs file and not .cshtml .
Therefore, I will need to compile the solution, so I guess I will need to update the .dll file on the server.

As mentioned, I've seen size differences between the .dll on the server and the one on the local machine.
10 anni tempo fa
Did you ensure you compiled as a release build rather than debug build? Either way if it was debug or release it should still work in Production.

Craig
10 anni tempo fa
ran2010 wrote:
Hello,

On my development machine I have the source code version installed for debugging.
I've uploaded the Web , no source, version to my live server.

However, there are cases when modification of the templates or cshtml files is not enough, and you will need to update the code itself.

I've tried to do a minor change in ProductController.cs (following this discussion).

As far I understand, this file complies to Nop.Web.dll.
However, the size of Nop.Web.dll on the source version is ~688kb, while the Nop.Web.dll version on the no source is ~633kb.

When I tried to replace the live Nop.Web.dll with the local development version - the site didn't work.

Any advice how can I update the live site with the compiled code ?

Thanks



Same problem I am facing. Did you find solution for this. Please tell me how to update. Because Nop.Web.dll update not working.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.