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.config, Release) in my Build configuration I have a post-build event is supposed to copy the transformed file into another directory but the file cannot be found
(error xcopy exited with code 4)
SlowCheetah doesn't seem to be transforming the file and placing it in the output directory (bin folder) like I would expect. Does anyone have any ideas as to why it is not happening, maybe a setting somewhere?
FYI: This process works on another machine, with the same project. As far as I can tell the same set up as well. But I may not be looking in the correct place.
Enable build verbosity (
Tools -> Options -> Projects and Solutions -> Build and Run
) and see the difference between the version that is working and the one that is not.To my knowledge, slow-Cheetah supports config transforms for the
app.config
files but notweb.configs
on debug at present. It should put a transformedweb.config
file in thebin
folder of your project but your project still reads from theconfig file
in the root folder. Please have a look at pre/post build events at http://sedodream.com/CommentView,guid,68b7e248-b9f5-4d07-bdfe-eb037bcf2cbb.aspx.You can request for web config transform support on debug at
https://github.com/sayedihashimi/slow-cheetah/issues/39
Try re-installing Slow-Cheetah.