When you restore Nuget, I encountered the pit.

error NETSDK1004: Assets can not find the file "*** \ project.assets.json". Run NuGet reduction package in order to generate this file.

Use cmd cd to the specified project directory, run dotnet restore command to restore and troubleshoot errors.

Guess you like

Origin www.cnblogs.com/Honyun100/p/12084290.html