SlowCheetah not transforming file on build

后端 未结 7 2147
青春惊慌失措
青春惊慌失措 2020-12-25 11:35

I have a project I am trying to use SlowCheetah for. I have created my config file (Test.web.config) and all the transformations I want to use (Debug_Mock.config, Debug_SQL.

7条回答
  •  余生分开走
    2020-12-25 11:57

    SlowCheetah 3.2.20 added a, uhh, "feature", designed to respect the "Do Not Copy" file setting in Visual Studio. So if you don't have your .config file set to "Copy Always" or "Copy if Newer", it won't copy them to the output folder.

    See https://github.com/Microsoft/slow-cheetah/issues/182 for some details.

    This was my issue - spent three hours debugging it...

提交回复
热议问题