Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

how to tell NuGet to install package per project and not solution

$
0
0

I have a class library project which is reused across different solutions.I would like NuGet to add a toolkit reference to the class library project and store it in the project folder not in the solution folder.

Example:

I have

D:\Projects\MyClassLibrary

D:\Projects\Solution1

D:\Projects\Solution2

Using NuGet, I want to add a toolkit to the MyClassLibrary project.

Right now, if I have Solution1 open, NuGet is adding the toolkit to

D:\Projects\Solution1\packages

I would like to tell NuGet to install the toolkit in the MyClassLibrary\packages folder instead.

How to do this?


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>