How can I use BeforeBuild and AfterBuild targets with Visual Studio 2017?

前端 未结 3 1411
野趣味
野趣味 2020-12-30 23:59

After upgrading to a csproj to use Visual Studio 2017 and Microsoft.NET.Sdk, my \"BeforeBuild\" and \"AfterBuild\" targets are no longer running. My file looks like this:

3条回答
  •  旧时难觅i
    2020-12-31 00:47

    In the already mentioned GitHub issue Rainer Sigwald provides much shorter and elegant solution:

     ... 
     ... 
    

    Looks odd, but works fine.

提交回复
热议问题