Ensure that restore has run and that you have included 'net5.0' in the TargetFrameworks for your project.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
3 года назад
Hi,

I am using the Windows Azure App Service with nopCommerce 4.4. What does this error mean?

##[error]C:\Program Files\dotnet\sdk\5.0.201\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(241,5): Error NETSDK1005: Assets file 'D:\a\19\s\Build\src\ClearPluginAssemblies\obj\project.assets.json' doesn't have a target for 'net5.0'. Ensure that restore has run and that you have included 'net5.0' in the TargetFrameworks for your project.

The project is built on .net 5.0.
3 года назад
1. Update Visual Studio to the latest version.
2. Update your Nuget package manager.
To check Nuget version:
Tools -> Nuget Package Manager -> Package Manager console

PM > $host

enter.
Then delete the bin folder and rebuild the project.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.