Click here to Skip to main content
15,891,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Good day,
am trying to build the this other project, but am having issues like i cant find the
the following features like: Microsoft.EntityFrameworkCore,Microsoft.VisualStudio.Web.CodeGeneration.Design, Microsoft.EntityFrameworkCore.Sqlite, Microsoft.EntityFrameworkCore.Tools,and Microsoft.EntityFrameworkCore.SqlServer on nuget when i try to add to add to the project as per project requirements as a result it gives the error

C:\Program Files\dotnet\sdk\5.0.301\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(241,5): error NETSDK1004: Assets file 'C:\Users\Lenovo\source\repos\CRUDOperationWithImageUploadCoremaster\CRUDOperationWithImageUploadCore\obj\project.assets.json' not found. Run a NuGet package restore to generate this file.
1>Done building project "CURDOperationWithImageUploadCore5_Demo.csproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Will really appreciateanyone's assistance.
thanks.

What I have tried:

i have tried some of recomended solutions like, clean the solution, restore packages through nuget manager, because i thoght is something to do with .Net sdk version. but iddnt win at all. for am using .NET 5.0
Posted
Updated 23-Jun-21 13:11pm
v2
Comments
RickZeeland 20-Jun-21 1:52am    
Did you also try Nuget restore from the command line in the solution folder?
Member 14690100 21-Jun-21 5:04am    
yes i did tried but did not work
Member 14690100 22-Jun-21 1:01am    
hi i have tried to follow the link provided above but couldent win at all , this time i cant even find any of dependencies in the nuget search

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900