I have a code generator tool that I partially own, and now that csproj files can list multiple Target Frameworks in them and building builds all of them, I am trying to figure o
The other way is use GenerateNuspec when you want to change the nuget file.
GenerateNuspec
You will find the Foo output once when you package.