Unable to load project

один год назад
When i load project of nopCommerce error shows :

Nop.Core.csproj : error  : The project file cannot be opened. Version 7.0.102 of the .NET SDK requires at least version 17.3.0 of MSBuild. The current available version of MSBuild is 16.11.2.50704. Change the .NET SDK specified in global.json to an older version that requires the MSBuild version currently available.

Please guide me how to update MSBuild
один год назад
Hi
which version of nopCommerce are you installing or building?

did you have  install the required SDK?
один год назад
You should install Visual Studio 2022
3 месяца назад
Hello,
I have a similar issue.
"Unable to resolve the .NET SDK version as specified in the global.json"
The json file has the following.
{
  "sdk": {
    "version": "7.0.101",
    "rollForward": "latestFeature",
    "allowPrerelease": false
  }
}
I have the latest Visual Studio 2022.
I ran dotnet --list-sdks. It displayed 8.0.101 [C:\Program Files\dotnet\sdk]. So I updated the global.json file to 8.0.101. But all projects are targeting .NET 7.0.
I do have .NET 7.0 runtime installed. Microsoft.AspNetCore.App 7.0.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Was that the right solution? Any suggestion is appreciated
3 месяца назад
When you are loading nopCommerce in Visual Studio, then make sure you have SDK installed of the needed dotnet version rather than having just runtime.

Runtime helps only in loading the website in IIS whereas the SDK is used for development purpose.

Please see this link for more help. Hope it resolves your issue :)

Best regards,
Atul