The setup:
- .Net 3.1 class library A --> clA.nupkg
- Content files (clA.appsettings.json)
- .Net 3.1 class library B --> clB.nupkg
- Content files (clB.appsettings.json)
Class library B depends on class library A and has a packagereference in csproj file.
Both class libraries are build to nuget packages via dotnet pack, based on their csproj files.
When i install clB.nupkg, clA.nupkg is installed as well, everything fine to here.
Also the content files of clB (clB.apssetings.json) are linked to the receiving project.
The problem is that the content files of clA (clA.appsettings.json) are not linked to the receiving project.
In the csproj file of clB i have the following:
...<ItemGroup><PackageReference Include="clA" Version="*"><IncludeAssets>all</IncludeAssets></PackageReference></ItemGroup>...
Am i missing something here?
Thanks in Advance.