I used this NuGet\Install-Package Microsoft.CodeAnalysis.NetAnalyzers -Version 8.0.0 command to install the nuget package for the solution it is only creating packages folder i am not able to see the package.config in the projects folder is there any way that i can do this from package manger cli.
NuGet\Install-Package in only downloading package not creating package.config for projects inside the solution
24 views Asked by Nischal At
1
In NuGet 4.0+ the package.config is not common for packages anymore instead the packages have reference in your project file please check your project.csproj than in your .csproj file there should be
<ItemGroup>where you should see your<PackageReference>it should look something like this:there is also a posibility that your project includes a whole folder for some reference like for my select-2 and toastr:
also you should see your packages in your solution explorer under dependencies =>
I believe if your package is installed correctly there should be a line like this in your .csproj
You can also add your PackageReferences yourself if for some reason is your nuget manager not creating them