Craftsman at work

I'm Artur Karbone, coding software architect and independent IT consultant and this is my blog about craftsmanship, architecture, distributive systems, management and much more.

.NET Core: Produce Nuget Packages for Web Projects

The Problem:

It turned out that calling

dotnet pack

command produces nothing for .NET Core web projects. After a quick googling I found the following Github Issue, which explains that this behavior is by design.

The Solution:

Change csproj file by adding the following property:

<PropertyGroup> <IsPackable>true</IsPackable> </PropertyGroup>

comments powered by Disqus