I am using NOPCommerce 4.0 along with API plugin 4.0 provided by the same link.
After adding the api plugin I am not able to add any controller in Nop.Web and if I add controller from another project it starts to giving a dependency injection exception.

Plugin 'Api plugin'. Could not load file or assembly 'Microsoft.EntityFrameworkCore.Relational, Version=, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.
Could not load file or assembly

I tried everything from my side but couldn't find any solution,  if I unload the api plugin project it starts working properly.