slow-cheetah
slow-cheetah copied to clipboard
Can not generate Transforms with T4
If I add a App.Debug.tt file then I get no transform preview. If I make the App.Debug.tt dependent upon App.config then the transform preview fails with an error message.
If I instead set the output to be dependent on App.Config then slow cheetah and T4 fight over who it is dependent upon.
It looks like somewhere in this war both sides called a truce, but that was with a lot of tinkering.
adding a new App.X.tt file replicates the lack of a transform preview.
And it appears to have suddenly started trying to use the T4 file instead of the .config file because
that character doesn't even exist in the app.debug.config
I'm not following you, can you give me some specific repro steps with the expected/actual result?
On Tue, Aug 6, 2013 at 9:59 AM, ImaginaryDevelopment < [email protected]> wrote:
If I add a App.Debug.tt file then I get no transform preview. If I make the App.Debug.tt dependent upon App.config then the transform preview fails with an error message.
If I instead set the output to be dependent on App.Config then slow cheetah and T4 fight over who it is dependent upon.
It looks like somewhere in this war both sides called a truce. adding a new App.X.tt file replicates the lack of a transform preview. But that was with a lot of tinkering.
— Reply to this email directly or view it on GitHubhttps://github.com/sayedihashimi/slow-cheetah/issues/101 .
Sure, Create a desktop app (anything with app.config, mine was windows forms). Click Add Item to the project:
make a App.Debug.tt
set the output extension to .config
make the tt spit out a proper config transform
there are no transforms/previews available.
Click the slow cheetah Add Transforms menu option on the app.config
now when you click add transforms it grabs the .tt output, when you save the .tt it takes back the file.
I'm not sure if in either of these cases that the transforms are actually happening on publish, but in one of the preview works.
On Wed, Aug 7, 2013 at 2:28 PM, Sayed Ibrahim Hashimi < [email protected]> wrote:
I'm not following you, can you give me some specific repro steps with the expected/actual result?
On Tue, Aug 6, 2013 at 9:59 AM, ImaginaryDevelopment < [email protected]> wrote:
If I add a App.Debug.tt file then I get no transform preview. If I make the App.Debug.tt dependent upon App.config then the transform preview fails with an error message.
If I instead set the output to be dependent on App.Config then slow cheetah and T4 fight over who it is dependent upon.
It looks like somewhere in this war both sides called a truce. adding a new App.X.tt file replicates the lack of a transform preview. But that was with a lot of tinkering.
— Reply to this email directly or view it on GitHub< https://github.com/sayedihashimi/slow-cheetah/issues/101> .
— Reply to this email directly or view it on GitHubhttps://github.com/sayedihashimi/slow-cheetah/issues/101#issuecomment-22272784 .