Extendend API gives error on build

Monday, November 25, 2024 8:39:12 PM
  • Posted: Friday, May 1, 2020 4:24 PM
  • 15
Dear GrandNode,

I have downloaded the zip file to extend the orders.
But when I build I get the following error

Controllers/OrderController.cs(1,17): error CS0234: The type or namespace name 'Controllers' does not exist in the namespace 'Grand.Api' (are you missing an assembly reference?)
0
  • Posted: Saturday, May 2, 2020 2:26 PM
  • 2
Replace
using Grand.Api.Controllers;

with
using Grand.Web.Areas.Api.Controllers;
0
  • Posted: Tuesday, May 5, 2020 12:54 PM
  • 15
Thank you!
0
back to top
Filters