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

Build NuGet package from ASP NET Core project

$
0
0

I have solution with four projects:

  1. FAPIServer.Storage
  2. FAPIServer
  3. FAPIServer.EntityFramework
  4. FAPIServer.Web

The 1, 2 and 3 are library project and the last 4 is ASP NET Core project. I planned that if I will be publishing the appropriate NuGet packages, then I will just convert the 4 project to library project and add necessary dependecies on ASP NET Core by referencing them as NuGet packages. But it occured that most of necessary packages are marked as deprecated.

I know I can use <IsPackable>true</IsPackable> in .csproj but I'm not sure if it's a good way to achieve my goal. Using this the .exe file will also be included in NuGet? It seems to me that it will be generally heavier than just library project.

So what I need to do to build NuGet package from ASP NET Core project or how can I reference whole ASP NET Core framework in my library project?

I'm using NET 7.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



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