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

C# .NET 6.0 - Compilation of a NuGet package omits documentation

$
0
0

I've developed a C# library and published it onto NuGet. To make it easier for others to use, I've also added some documentation using <summary> tags, for example like this:

    /// <summary>    /// This method does X and Y and accepts the parameter Z.    /// </summary>

When testing locally (two projects in one solution), I can clearly see them when intellisense suggests me the class/method. However, when compiling for a release, the documentation of my library is for some reason omitted. When I download the released library in a different solution trough NuGet, I no longer see any of the documentation when intellisense starts suggesting.

I use the newest .NET version to compile (6.0.302) on Linux and use the following command to build and pack the project:

dotnet build && dotnet pack --configuration Release

Viewing all articles
Browse latest Browse all 3067

Trending Articles



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