How do nopCommerce plugins reference asp core web

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 years ago
Hi,

I have some questions about developing plugin for version 4.3
So, all plugins in the solution web nopCommerce project reference directly Nop.Web.Framework and indirectly Nop.Core/Data/Service

All the plugins projects is described as <Project Sdk="Microsoft.NET.Sdk">.
And here is my question: how they are able to reference parts of Microsoft.NET.Sdk.Web - like Controllers and Components?

I have a plugin in different solution and the only way I found to reference controllers is by defining the project as Microsoft.NET.Sdk.Web

Kings Regards
3 years ago
Not sure if this is what you mean - You can also reference Nop.Web
3 years ago
The solution was to add in my project file the code below.

  <ItemGroup>
    <FrameworkReference Include="Microsoft.AspNetCore.App" />
  </ItemGroup>
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.