I am upgrading Nop 3.9 to Version 4.6, when I load my project on Visual Studio 2022, and rebuild, it throws error of Project Framework Targets errors.
Severity Code Description Project File Line Suppression State
Error Project '..\..\Presentation\Nop.Web.Framework\Nop.Web.Framework.csproj' targets 'net7.0'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.5.1'. Nop.Plugin.Api
Severity Code Description Project File Line Suppression State
Error Project '..\..\Libraries\Nop.Data\Nop.Data.csproj' targets 'net7.0'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.5.1'. Nop.Plugin.Api
Severity Code Description Project File Line Suppression State
Error Project '..\..\Libraries\Nop.Services\Nop.Services.csproj' targets 'net7.0'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.5.1'. Nop.Plugin.Api
Severity Code Description Project File Line Suppression State
Error Project '..\..\Libraries\Nop.Core\Nop.Core.csproj' targets 'net7.0'. It cannot be referenced by a project that targets '.NETFramework,Version=v4.5.1'. Nop.Plugin.Api
I have followed the suggested requirements by the NOP group and all requirements are fulfilled by the link be link below.
https://docs.nopcommerce.com/en/installation-and-upgrading/technology-and-system-requirements.html
Any advise would be much appreciated
https://i.postimg.cc/nzjmFyfW/Screenshot-target-error.png
Thanks