This is a sample project to demonstrate how to create a Nuget package and include content files. The files will not be included in the consuming projects, they will be copied to the output directory. The files will also be copied when the consuming pacakge is a transitive dependency in other projects.
dotnet pack MyNugetPackage/MyNugetPackage.csproj -c Release -o ./nupkg -p:PackageVersion=1.0.0
dotnet build -c Debug .\ConsumingApplication\ConsumingApplication.csproj
dotnet publish -c Release -o .\publish .\ConsumingApplication\ConsumingApplication.csproj