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

Wrong depending Nuget package installed

$
0
0

I was scared of having a data.dll in my binary folder which wasn't mine.I found out that the data.dll was downloaded because my personal Nuget package has a dependency to Data which resolved to being downloaded from the official nuget store (https://www.nuget.org/packages/Data/)

To be clear I have a solution where I have two projects which are libraries. Project A has a project reference to Project B (called Data). Project A will generate a Nuget package on build which will be published. Project B is not published as a Nuget. So now when anyone is downloading my Nuget package Project A the Data dependency from official nuget storage is downloaded instead of warning me that the reference is not available.Is this normal and how to avoid it?


Viewing all articles
Browse latest Browse all 3067

Trending Articles