I think that you are in your solution folder and there is no .csproj
files inside that folder - you need to cd
in one more folder which contains desired .csproj
file for which you want to install nugget package. Not sure that with dotnet CLI you can install package for entire solution.
I found the solution I had to access :
add webApplication4 add package Newtonsoft.Json
add nameOfTheProject add package nameOfthePackage.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.