Errors when installing nop

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
I have installed a fresh copy of nopCommerce 3.9 along with Visual Studio 2017. I keep getting these errors when building & publishing Nop.Web. Please help!


Error  CS0234  The type or namespace name 'Controllers' does not exist in the namespace 'Nop.Web' (are you missing an assembly reference?)  Nop.Web.MVC.Tests  C:\Users\*\Documents\nopCommerce_3.90_Source\Tests\Nop.Web.MVC.Tests\Public\Infrastructure\RoutesTests.cs  2  Active
Error  CS0234  The type or namespace name 'Infrastructure' does not exist in the namespace 'Nop.Web' (are you missing an assembly reference?)  Nop.Web.MVC.Tests  C:\Users\*\Documents\nopCommerce_3.90_Source\Tests\Nop.Web.MVC.Tests\Public\Infrastructure\RoutesTestsBase.cs  2  Active
Error  CS0234  The type or namespace name 'Models' does not exist in the namespace 'Nop.Web' (are you missing an assembly reference?)  Nop.Web.MVC.Tests  C:\Users\*\Documents\nopCommerce_3.90_Source\Tests\Nop.Web.MVC.Tests\Public\Models\News\HomePageNewsItemsModelTests.cs  3  Active
Error  CS0234  The type or namespace name 'Models' does not exist in the namespace 'Nop.Web' (are you missing an assembly reference?)  Nop.Web.MVC.Tests  C:\Users\*\Documents\nopCommerce_3.90_Source\Tests\Nop.Web.MVC.Tests\Public\Models\Polls\PollModelTests.cs  2  Active
Error  CS0234  The type or namespace name 'Validators' does not exist in the namespace 'Nop.Web' (are you missing an assembly reference?)  Nop.Web.MVC.Tests  C:\Users\*\Documents\nopCommerce_3.90_Source\Tests\Nop.Web.MVC.Tests\Public\Validators\Blogs\BlogPostValidatorTests.cs  1  Active
Error  CS0246  The type or namespace name 'BlogPostValidator' could not be found (are you missing a using directive or an assembly reference?)  Nop.Web.MVC.Tests  C:\Users\*\Documents\nopCommerce_3.90_Source\Tests\Nop.Web.MVC.Tests\Public\Validators\Blogs\BlogPostValidatorTests.cs  9  Active
Error  CS0234  The type or namespace name 'Models' does not exist in the namespace 'Nop.Web' (are you missing an assembly reference?)  Nop.Web.MVC.Tests  C:\Users\*\Documents\nopCommerce_3.90_Source\Tests\Nop.Web.MVC.Tests\Public\Validators\Boards\EditForumPostValidatorTests.cs  2  Active
Error  CS0234  The type or namespace name 'Validators' does not exist in the namespace 'Nop.Web' (are you missing an assembly reference?)  Nop.Web.MVC.Tests  C:\Users\*\Documents\nopCommerce_3.90_Source\Tests\Nop.Web.MVC.Tests\Public\Validators\Boards\EditForumPostValidatorTests.cs  3  Active
Error  CS0246  The type or namespace name 'EditForumPostValidator' could not be found (are you missing a using directive or an assembly reference?)  Nop.Web.MVC.Tests  C:\Users\*\Documents\nopCommerce_3.90_Source\Tests\Nop.Web.MVC.Tests\Public\Validators\Boards\EditForumPostValidatorTests.cs  11  Active
5 years ago
What is with this directory name C:\Users\*\Documents ?? Seems funny

I’d make a new direct called c:\development and unpack the source version in there called c:\development\nopCommerce_3.90_Source

Then open it with visual studio and try and build - no need to publish until you can build successfully in development
5 years ago
The * was just used to hide my personal directory name.
5 years ago
When you unpack the rar/zip file, be sure to first Unblock the file.

Try to rebuild just the Nop.Web project first, then rebuild the solution.
5 years ago
Thanks!

I now get "The target "GatherAllFilesToPublish" does not exist in the project."
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.