where does Nuget download packages when PackageReference is enabled

LP13

In visual studio 2017 i have enabled PackageReference so that package reference will be stored in csproj file instead of package.config file

I have added these 2 line in csproj file to enable PackageRefernce

<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>

Now when i install any package using Nuget Package Manager, i see something like this

enter image description here

references with blue icon are added as package.

However i dont see any of these packages in packages folder under solution directory. Moreover, if i right click on blue icon (i.e reference) and click on properties, the window the blank. I cannot see the path where its referencing from

So when does Visual Studio download the packages when package? reference is enabled

LP13

looks like it installs the packages in C:\Users\{username}\.nuget\packages

when packagereference in enabled

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Best practice regarding PackageReference version when publishing Nuget packages?

How are we supposed to execute package build targets in the new world where nuget packages are consumed through msbuild PackageReference?

PackageReference for NuGet packages in C++ projects

Where are the Assemblies Located for Installed Nuget Packages When Using .Net Core?

Download only necessary NuGet packages

Does Nuget automatically create package with PackageReference'd dependencies?

MSBuild not adding a /reference for nuget PackageReference when building with jenkins

Ubuntu Sofware Centre does not download packages when connected to Cisco VPN

Does nuget create separate packages?

Download all packages from private nuget feed

Errors resolving NuGet Packages after TFS Download

.NET Core c# Project - where does all nuget packages are located?

Migrating Packages.config to PackageReference

Nuget does not restore packages from source control

What is the default version of the nuget package when referenced with PackageReference in .NET Core project?

Where can I download the /usr/dict/ packages?

Where does pipenv install packages?

Where does npm install packages?

Where does sdkman install packages?

Where does R store packages?

Where does raco install packages?

Where does Meteor stores packages

adding nuget packages in TFS - does packages.config need to be Checked In?

Error Occured when trying to install NuGet Packages

When should I update NuGet packages for a project?

No packages found when I search for SQLite in NuGet

NuGet can't find/download packages after upgrade to 3.4

Force NuGet to download packages built to project .Net version

NuGet package browsing: How to see packages ordered by download count (descending)