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

How to access a class within a new nuget package that is already installed in another project

$
0
0

I have two projects P1 and P2 in my solution.I created a private nuget package which I installed in project P1.

(manage nuget package - installing for folder location where the nuget package physically exist).

P1 project reference is also added in project P2.The classes/methods inside nuget package is needed in project P2 as well...

Installing the nuget package again in project P2 works fine without any issue.But everytime when I update my private nuget package, I need to re-install the nuget package in both these projects.

I want to reference the class/methods of nuget package in P2 using the 'P1 Project Reference' which already exist. So that when nuget package is updated, I need to re-install in only one project(P1).

Is it possible to achieve this...

Thanks for any help.

Priya.

enter image description here

enter image description here


Viewing all articles
Browse latest Browse all 3067

Trending Articles



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