On trying to publish V2.0 (01/07/11 build ) in VS2010 using the local server using WebDeploy and publishing Nop.Web :- Publish Method:"http://localhost/NopCommerce" site application: "Default Web Site/NopCommerce" I get the error message "Could not find file 'Plugins\bin\index.htm"
This will build the project in release mode and move the plugins to the correct directory.
src\Deploy.bat
This will do what Prepare.bat does, but will also move all the websites and files to src\Deployable\Nop_2.X. You can put these files on a web server and expect them to run.
Note that publishing via visual studio will not work. Well, it will work, but it's complicated. src\Deploy.bat is meant to take away any headaches.
I have emailed you the log, as it looks quite large to fit on the forums, but the error message lines are:
Build FAILED.
"C:\MyDownloads\Installs\NOPCommerce\nopCommerce_8105ba8a39b0\src\build\nop.proj" (default target) (1) -> "C:\MyDownloads\Installs\NOPCommerce\nopCommerce_8105ba8a39b0\src\NopCommerce.sln" (default target) (2) -> "C:\MyDownloads\Installs\NOPCommerce\nopCommerce_8105ba8a39b0\src\Libraries\Nop.Services\Nop.Services.csproj" (default target) (5) -> (GenerateSerializationAssemblies target) -> SGEN : error : Could not load file or assembly 'file:///C:\MyDownloads\Installs\NOPCommerce\nopCommerce_8105ba8a39b0\src\packages\PdfSharp\MigraDoc.DocumentObjectModel.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
I think easiest way to publish is to run Prapare.bat and then open published website "Deployable/Nop_2.0/" in webMatrix then deploy to server or just run on localhost.