The fix is to update the build Docker image to use the new 2.1.700 release of the .NET Core SDK. This ensures the PackageLicenseFile directive in the csproj files is respected. Per the documentation , this directive is supported in 2.1.502 and later, but the SDK previously used was an earlier 2.1.xxx version.
The fix is to update the build Docker image to use the new 2.1.700 release of the .NET Core SDK. This ensures the
PackageLicenseFile
directive in the csproj files is respected. Per the documentation , this directive is supported in 2.1.502 and later, but the SDK previously used was an earlier 2.1.xxx version.PowerShell Core has new installation instructions, so the Dockerfile is updated appropriately for these too.
The Docker image has been built locally and pushed to Docker Hub, and verified to be working on TeamCity.