I'm pretty sure the license expression works as expected, I tested it by hardcoding the license in the generator.
I also tested the custom license with hardcoding, but I don't actually know what the custom license file looks like when configured. I assumed the incoming value is something like "LICENSE" or "License.txt", and the file actually exists in the root of the repository, so in csproj it is included using ../../{filename}.
I'm pretty sure the license expression works as expected, I tested it by hardcoding the license in the generator. I also tested the custom license with hardcoding, but I don't actually know what the custom license file looks like when configured. I assumed the incoming value is something like "LICENSE" or "License.txt", and the file actually exists in the root of the repository, so in csproj it is included using
../../{filename}
.