VS 2019 - Enabling license acceptance

After adding tag to csproj I’m getting following error:

/usr/share/dotnet/sdk/2.0.0/Sdks/NuGet.Build.Tasks.Pack/buildCrossTargeting/NuGet.Build.Tasks.Pack.targets(141,5): error : Enabling license acceptance requires a license url.

Please help.