11. September 2013 21:39
While working on a plugin for nopCommerce (a payment plugin for Sage Payments, the USA portal, HTTPS), I was getting build errors for references to Nop.Core and Nop.Services.
Error 5 The type or namespace name 'Core' does not exist in the namespace 'Nop' (are you missing an assembly reference?) C:\Code\SgtNop\Main\Plugins\Nop.Plugin.Payments.SageHttps\SageHttpsPaymentProcessor.cs 8 11 Nop.Plugin.Payments.SageHttps
The intellisense was working on Nop's assemblies, but the project wouldn't compile. The problem was my new plugin project was compiling to .Net 4 when the Nop.Core compiles to .Net 4.5. After changing the plugin's target framework to 4.5, everything compiled.