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