slow-cheetah
slow-cheetah copied to clipboard
XML-Files marked as "Content" and "Copy to output directory" are not transformed
XML-Files marked as "Content" and "Copy to output directory" are not transformed during the build process. The file in the original folder gets tranformed, but the copied file in the output directory is the original file without the transformation.
I just created a new console application in Visual Studio 2013 and tried with the configuration you specified and the file is being transformed in the output folder. My sample project is at https://dl.dropboxusercontent.com/u/40134810/SlowCheetah/issue-171/ConsoleApplication3.zip if you want to try it out.
Can you give specific steps that I can follow to reproduce your issue?
I have a ASP.NET MVC Website project with some config files (including transformations) in a "Config" folder. Some of them are linked files from other projects, but the problem exists for both types. The config files are marked as "Content" and "Copy to output directory" (only the base files, not the transformation files). If I choose one of my several profiles and publish the Website the transformation is successful in the "Config" folder but the copied files in the "bin\Config" are the original files without the transformation.
I will take a look at your sample project if I can find any differences to my approach.
Thank you for your help!
Hello, I get the same issue than forsti83. Is a workaround existing ? Please help ;)
Regards, Ludo
If you configure a transform for the file, it should be copied to the output directory on transform. Do you need the file to be explicitly marked as "Copy to output directory"?