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

How to convert a class library project into NuGet package

$
0
0

We have below in .sln file.

1.Website project

2.Service project

2.Framework ClassLibrary project

We want to create a NuGet package of this ClassLibrary project which will be used in any other project. As of now website & service project contains direct reference to CL project so 1st step is to decouple CL project from website & service project but if we do we'll get compile time error while building website project. Does that means we have to change whole code in CL project before decouple.

After successful decouple , we'll remove this CL project from solution and will reference like NuGet package.

NuGet package can be created as explained in this link Create NuGet package


Viewing all articles
Browse latest Browse all 3067

Trending Articles



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