How do you Publish 3.2 from Visual Studio?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
10 years ago
If you're using nopCommerce 3.20 (or above), then follow the next steps:
  •Open the solution in Visual Studio
  •Re-build the entire solution
  •Publish the "Nop.Web" project from Visual Studio. When publishing ensure that configuration is set to "Release"

Anyone know how to do this?

I click on the Nop.Web folder, then Project tab, Properties, and see "Package/Publish Web".
I'm guessing I select "All files in this Project".

If someone has instructions for this I'd appreciate it.
Thanks
10 years ago
1. Find the Nop.Web project in VS
2. Right click on it
3. Select "Publish..."
10 years ago
http://msdn.microsoft.com/en-us/library/dd465337(v=vs.110).aspx
10 years ago
There are different ways to publish exactly where are you trying to publish to???
10 years ago
thanks all, . . .

Can also use this when uploading changes to the server?
10 years ago
MikeMCSD wrote:
Can also use this when uploading changes to the server?

Yes. This is the default VS deployment workflow which is used when working with ANY web application (not only with nopCommerce)
10 years ago
I followed those workflow steps and was able to publish to windows azure. After I publishe it took me to the install page a created a new SQL database. How can I move the local SQL database to use instead of the newly created one?

Anyone have a help on this scenario ?

Thanks,
Alvin
10 years ago
olavarrieta wrote:
How can I move the local SQL database to use instead of the newly created one?


Create a Backup from your local SQL Server.

Get a copy of the back up file (ex : NOP32.bak) from a folder like this one :

C:\Program Files\Microsoft SQL Server\MSSQL10.SQL2008MP\MSSQL\Backup

Restore that file on the on your other SQL Server :

r-click on the New Database : select Tasks,  Restore, select "Database . ."
Use "From Device" and select the back up file (ex : NOP32.bak).

I usually do this next step because I sometimes get an error if I don't :

From the Options tab :
Restore the database files as :
Change these 2 lines to the backup file's name (ex : NOP32.bak):
C:\Program Files\Microsoft SQL Server\MSSQL10.SQL2008MP\MSSQL\DATA\NOP32.mdf
C:\Program Files\Microsoft SQL Server\MSSQL10.SQL2008MP\MSSQL\DATA\NOP32_log.ldf

Also choose "Overwrite" on that same Options tag.
9 years ago
Hi
After I published it from VS 2013, I need to re-install all the plugins again, how can I avoid that?
I am using the same database

thanks
8 years ago
I publish Nop.web, It published but only one Project Published which is Nop.web. I want to Publish the Complete Solution. ie. 34 Projects.
========== Build: 1 succeeded, 0 failed, 4 up-to-date, 0 skipped ==========
I want 34 succeeded.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.