How to make an MSBuild Target that only runs once instead of once, before Targets that run once per framework in the TargetFrameworks tag?

后端 未结 4 1874
梦如初夏
梦如初夏 2021-02-11 07:16

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

4条回答
  •  太阳男子
    2021-02-11 08:05

    The other way is use GenerateNuspec when you want to change the nuget file.

    You will find the Foo output once when you package.

提交回复
热议问题