SlowCheetah executes after post-build events

后端 未结 4 529
孤独总比滥情好
孤独总比滥情好 2021-01-19 03:47

I use SlowCheetah to transform my app.configs. I have a multi-project solution where one of the projects executes a post-build event where the output of the bin is copied el

4条回答
  •  盖世英雄少女心
    2021-01-19 03:57

    I have bumped into this problem too... decided to update to latest version of SlowCheetah (current 2.5.8), and this problem appears to have been fixed! No more problems using post-build events to deploy a project with transformed XML!

    After the NuGet package upgrade process, I had a strange issue, though... transforms were no longer happening. Editing the project like Naeem Sarfraz suggested, I have found that the SlowCheetah's PropertyGroup section was placed at the end of the .csproj.

    It was just a matter of moving it to the top, near the other PropertyGroup sections, and now it works like a charm!

提交回复
热议问题