I have done some changes in PdfService.cs Now I want to upload this dll in my no source code of nopcommerce 4.5.4. From where the dll should be taken? I need help for the path from source code and the path of no source code
I have uploded 2 files from the path of source code \Nopcommerce 4.5.4\ Presentation\ Nop.Web \bin\ Debug\net6.0
to the path of wwwroot of no source code
Is this the right path?
Select Release instead of Debug
Right mouse click and Publish Nop.Web
Publish to a local directory
Use the changed .dll's and or .cshtml files from the published directory and copy to production
Nop.Services.pdb is debugging information so you dont need that
I tried this above solution but I don't think the files are getting affected because I am getting the same output.
Is there any other way. It would really help
Are you going to the published directory
Are the dates on the .dll's changing ?
Are you copying the correct changed / files to production ?
Stop the production webserver
Take a backup of the old files before making a change
Copy over the files with the new version
(Then you should see an error and confirm you want to overwrite the old files)
Restart the production webserver after making the update