Errors running the 2.3 source

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
I build the application in VS 2010. After 53 files succeeded I go to prepare.bat. On prepare I get errors about missing nopcore csproj files. I get a failed on the running of the prepare. bat.

Any ideas? Is my VS 2010 out of date?
12 years ago
It sounds like you can build it just in in VS2010 so you are probably good there

I was getting an error about a release (Release|BPC) and I had to go into the environment variables and remove the "Platform" "BPC" and then I could prepare and Deploy

what's the exact error you're getting?
12 years ago
>CSC : error CS2001: Source file 'C:\Users\Gabriel\AppData\Local\Temp\.NE
TFramework,Version=v4.0.AssemblyAttributes.cs' could not be found [C:\Us
ers\Gabriel\NOPCOM21Localinstall\nopCommerce_599216f602fa\src\Tests\Nop.
Tests\Nop.Tests.csproj]
>CSC : error CS2001: Source file 'C:\Users\Gabriel\AppData\Local\Temp\.NE
TFramework,Version=v4.0.AssemblyAttributes.cs' could not be found [C:\Us
ers\Gabriel\NOPCOM21Localinstall\nopCommerce_599216f602fa\src\Libraries\
Nop.Core\Nop.Core.csproj]

I am running it debug mode.
12 years ago
Ran it in build mode
7>CSC : error CS2001: Source file 'C:\Users\Gabriel\AppData\Local\Temp\.NE
   TFramework,Version=v4.0.AssemblyAttributes.cs' could not be found [C:\Us
   ers\Gabriel\NOPCOM21Localinstall\nopCommerce_599216f602fa\src\Tests\Nop.
   Tests\Nop.Tests.csproj]
7>Done Building Project "C:\Users\Gabriel\NOPCOM21Localinstall\nopCommerce
   _599216f602fa\src\Tests\Nop.Tests\Nop.Tests.csproj" (default targets) --
    FAILED.
14>CSC : error CS2001: Source file 'C:\Users\Gabriel\AppData\Local\Temp\.NE
   TFramework,Version=v4.0.AssemblyAttributes.cs' could not be found [C:\Us
   ers\Gabriel\NOPCOM21Localinstall\nopCommerce_599216f602fa\src\Libraries\
   Nop.Core\Nop.Core.csproj]
I have used last two versions. Is my VS2010 misconfigured?
12 years ago
Looks like there are two files missing? but the question is - are the files

C:\Users\Gabriel\NOPCOM21Localinstall\nopCommerce_599216f602fa\src\Tests\Nop.Tests\Nop.Tests.csproj

C:\Users\Gabriel\NOPCOM21Localinstall\nopCommerce_599216f602fa\src\Libraries\Nop.Core\Nop.Core.csproj

actually there?
12 years ago
both of them are there
12 years ago
ok here is the build failed message
Build FAILED.

       "C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602fa\nopComme
       rce_599216f602fa\src\build\nop.proj" (default target) (1) ->
       "C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602fa\nopComme
       rce_599216f602fa\src\NopCommerce.sln" (default target) (2) ->
       "C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602fa\nopComme
       rce_599216f602fa\src\Tests\Nop.Data.Tests\Nop.Data.Tests.csproj" (defaul
       t target) (5) ->
       "C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602fa\nopComme
       rce_599216f602fa\src\Tests\Nop.Tests\Nop.Tests.csproj" (default target)
       (6) ->
       (CoreCompile target) ->
         CSC : error CS2001: Source file 'C:\Users\Gabriel\AppData\Local\Temp\.
       NETFramework,Version=v4.0.AssemblyAttributes.cs' could not be found [C:\
       Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602fa\nopCommerce_
       599216f602fa\src\Tests\Nop.Tests\Nop.Tests.csproj]


       "C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602fa\nopComme
       rce_599216f602fa\src\build\nop.proj" (default target) (1) ->
       "C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602fa\nopComme
       rce_599216f602fa\src\NopCommerce.sln" (default target) (2) ->
       "C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602fa\nopComme
       rce_599216f602fa\src\Libraries\Nop.Core\Nop.Core.csproj" (default target
       ) (12) ->
         CSC : error CS2001: Source file 'C:\Users\Gabriel\AppData\Local\Temp\.
       NETFramework,Version=v4.0.AssemblyAttributes.cs' could not be found [C:\
       Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602fa\nopCommerce_
       599216f602fa\src\Libraries\Nop.Core\Nop.Core.csproj]

    0 Warning(s)
    2 Error(s)
12 years ago
I cleared my appdata local temp folder, running again.
12 years ago
Ok that worked as far building not failing. I do have 16 warnings though. DO i COnintue or start all over?
Build succeeded.

       "C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602fa\nopComme
       rce_599216f602fa\src\build\nop.proj" (default target) (1) ->
       "C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602fa\nopComme
       rce_599216f602fa\src\NopCommerce.sln" (default target) (2) ->
       "C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602fa\nopComme
       rce_599216f602fa\src\Tests\Nop.Web.MVC.Tests\Nop.Web.MVC.Tests.csproj" (
       default target) (18) ->
       (CoreCompile target) ->
         Public\Validators\Blogs\BlogPostValidatorTests.cs(16,21): warning CS01
       08: 'Nop.Web.MVC.Tests.Public.Validators.Blogs.BlogPostValidatorTests.Se
       tup()' hides inherited member 'Nop.Web.MVC.Tests.Public.Validators.BaseV
       alidatorTests.Setup()'. Use the new keyword if hiding was intended. [C:\
       Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602fa\nopCommerce_
       599216f602fa\src\Tests\Nop.Web.MVC.Tests\Nop.Web.MVC.Tests.csproj]
         Public\Validators\Boards\EditForumTopicValidatorTests.cs(14,21): warni
       ng CS0108: 'Nop.Web.MVC.Tests.Public.Validators.Boards.EditForumTopicVal
       idatorTests.Setup()' hides inherited member 'Nop.Web.MVC.Tests.Public.Va
       lidators.BaseValidatorTests.Setup()'. Use the new keyword if hiding was
       intended. [C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602f
       a\nopCommerce_599216f602fa\src\Tests\Nop.Web.MVC.Tests\Nop.Web.MVC.Tests
       .csproj]
         Public\Validators\Boards\EditForumPostValidatorTests.cs(14,21): warnin
       g CS0108: 'Nop.Web.MVC.Tests.Public.Validators.Boards.EditForumPostValid
       atorTests.Setup()' hides inherited member 'Nop.Web.MVC.Tests.Public.Vali
       dators.BaseValidatorTests.Setup()'. Use the new keyword if hiding was in
       tended. [C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602fa\
       nopCommerce_599216f602fa\src\Tests\Nop.Web.MVC.Tests\Nop.Web.MVC.Tests.c
       sproj]
         Public\Validators\Catalog\ProductReviewsValidatorTests.cs(15,21): warn
       ing CS0108: 'Nop.Web.MVC.Tests.Public.Validators.Catalog.ProductReviewsV
       alidatorTests.Setup()' hides inherited member 'Nop.Web.MVC.Tests.Public.
       Validators.BaseValidatorTests.Setup()'. Use the new keyword if hiding wa
       s intended. [C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f60
       2fa\nopCommerce_599216f602fa\src\Tests\Nop.Web.MVC.Tests\Nop.Web.MVC.Tes
       ts.csproj]
         Public\Validators\Catalog\ProductEmailAFriendValidatorTests.cs(15,21):
        warning CS0108: 'Nop.Web.MVC.Tests.Public.Validators.Catalog.ProductEma
       ilAFriendValidatorTests.Setup()' hides inherited member 'Nop.Web.MVC.Tes
       ts.Public.Validators.BaseValidatorTests.Setup()'. Use the new keyword if
        hiding was intended. [C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce
       -599216f602fa\nopCommerce_599216f602fa\src\Tests\Nop.Web.MVC.Tests\Nop.W
       eb.MVC.Tests.csproj]
         Public\Validators\Common\AddressValidatorTests.cs(14,21): warning CS01
       08: 'Nop.Web.MVC.Tests.Public.Validators.Common.AddressValidatorTests.Se
       tup()' hides inherited member 'Nop.Web.MVC.Tests.Public.Validators.BaseV
       alidatorTests.Setup()'. Use the new keyword if hiding was intended. [C:\
       Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602fa\nopCommerce_
       599216f602fa\src\Tests\Nop.Web.MVC.Tests\Nop.Web.MVC.Tests.csproj]
         Public\Validators\Common\ContactUsValidatorTests.cs(14,21): warning CS
       0108: 'Nop.Web.MVC.Tests.Public.Validators.Common.ContactUsValidatorTest
       s.Setup()' hides inherited member 'Nop.Web.MVC.Tests.Public.Validators.B
       aseValidatorTests.Setup()'. Use the new keyword if hiding was intended.
       [C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602fa\nopComme
       rce_599216f602fa\src\Tests\Nop.Web.MVC.Tests\Nop.Web.MVC.Tests.csproj]
         Public\Validators\Customer\ChangePasswordValidatorTests.cs(16,21): war
       ning CS0108: 'Nop.Web.MVC.Tests.Public.Validators.Customer.ChangePasswor
       dValidatorTests.Setup()' hides inherited member 'Nop.Web.MVC.Tests.Publi
       c.Validators.BaseValidatorTests.Setup()'. Use the new keyword if hiding
       was intended. [C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f
       602fa\nopCommerce_599216f602fa\src\Tests\Nop.Web.MVC.Tests\Nop.Web.MVC.T
       ests.csproj]
         Public\Validators\Customer\RegisterValidatorTests.cs(16,21): warning C
       S0108: 'Nop.Web.MVC.Tests.Public.Validators.Customer.RegisterValidatorTe
       sts.Setup()' hides inherited member 'Nop.Web.MVC.Tests.Public.Validators
       .BaseValidatorTests.Setup()'. Use the new keyword if hiding was intended
       . [C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602fa\nopCom
       merce_599216f602fa\src\Tests\Nop.Web.MVC.Tests\Nop.Web.MVC.Tests.csproj]
         Public\Validators\Customer\PasswordRecoveryValidatorTests.cs(14,21): w
       arning CS0108: 'Nop.Web.MVC.Tests.Public.Validators.Customer.PasswordRec
       overyValidatorTests.Setup()' hides inherited member 'Nop.Web.MVC.Tests.P
       ublic.Validators.BaseValidatorTests.Setup()'. Use the new keyword if hid
       ing was intended. [C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599
       216f602fa\nopCommerce_599216f602fa\src\Tests\Nop.Web.MVC.Tests\Nop.Web.M
       VC.Tests.csproj]
         Public\Validators\Customer\PasswordRecoveryConfirmValidatorTests.cs(16
       ,21): warning CS0108: 'Nop.Web.MVC.Tests.Public.Validators.Customer.Pass
       wordRecoveryConfirmValidatorTests.Setup()' hides inherited member 'Nop.W
       eb.MVC.Tests.Public.Validators.BaseValidatorTests.Setup()'. Use the new
       keyword if hiding was intended. [C:\Users\Gabriel\NOPCOM21Localinstall\n
       opcommerce-599216f602fa\nopCommerce_599216f602fa\src\Tests\Nop.Web.MVC.T
       ests\Nop.Web.MVC.Tests.csproj]
         Public\Validators\Customer\CustomerInfoValidatorTests.cs(14,21): warni
       ng CS0108: 'Nop.Web.MVC.Tests.Public.Validators.Customer.CustomerInfoVal
       idatorTests.Setup()' hides inherited member 'Nop.Web.MVC.Tests.Public.Va
       lidators.BaseValidatorTests.Setup()'. Use the new keyword if hiding was
       intended. [C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602f
       a\nopCommerce_599216f602fa\src\Tests\Nop.Web.MVC.Tests\Nop.Web.MVC.Tests
       .csproj]
         Public\Validators\Install\InstallValidatorTests.cs(15,21): warning CS0
       108: 'Nop.Web.MVC.Tests.Public.Validators.Install.InstallValidatorTests.
       Setup()' hides inherited member 'Nop.Web.MVC.Tests.Public.Validators.Bas
       eValidatorTests.Setup()'. Use the new keyword if hiding was intended. [C
       :\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-599216f602fa\nopCommerc
       e_599216f602fa\src\Tests\Nop.Web.MVC.Tests\Nop.Web.MVC.Tests.csproj]
         Public\Validators\Newsletter\NewsletterBoxValidatorTests.cs(14,21): wa
       rning CS0108: 'Nop.Web.MVC.Tests.Public.Validators.Newsletter.Newsletter
       BoxValidatorTests.Setup()' hides inherited member 'Nop.Web.MVC.Tests.Pub
       lic.Validators.BaseValidatorTests.Setup()'. Use the new keyword if hidin
       g was intended. [C:\Users\Gabriel\NOPCOM21Localinstall\nopcommerce-59921
       6f602fa\nopCommerce_599216f602fa\src\Tests\Nop.Web.MVC.Tests\Nop.Web.MVC
       .Tests.csproj]
         Public\Validators\PrivateMessages\PrivateMessageValidatorTests.cs(14,2
       1): warning CS0108: 'Nop.Web.MVC.Tests.Public.Validators.PrivateMessages
       .PrivateMessageValidatorTests.Setup()' hides inherited member 'Nop.Web.M
       VC.Tests.Public.Validators.BaseValidatorTests.Setup()'. Use the new keyw
       ord if hiding was intended. [C:\Users\Gabriel\NOPCOM21Localinstall\nopco
       mmerce-599216f602fa\nopCommerce_599216f602fa\src\Tests\Nop.Web.MVC.Tests
       \Nop.Web.MVC.Tests.csproj]
         Public\Validators\ShoppingCart\WishlistEmailAFriendValidatorTests.cs(1
       4,21): warning CS0108: 'Nop.Web.MVC.Tests.Public.Validators.ShoppingCart
       .WishlistEmailAFriendValidatorTests.Setup()' hides inherited member 'Nop
       .Web.MVC.Tests.Public.Validators.BaseValidatorTests.Setup()'. Use the ne
       w keyword if hiding was intended. [C:\Users\Gabriel\NOPCOM21Localinstall
       \nopcommerce-599216f602fa\nopCommerce_599216f602fa\src\Tests\Nop.Web.MVC
       .Tests\Nop.Web.MVC.Tests.csproj]

    16 Warning(s)
12 years ago
nopgabriel wrote:
I do have 16 warnings though. DO i COnintue or start all over?

Are you using the latest version from CodePlex (upcoming 2.40)? It's OK that you're getting the warnings
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.