Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not generate Transforms with T4 #101

Open
ImaginaryDevelopment opened this issue Aug 6, 2013 · 2 comments
Open

Can not generate Transforms with T4 #101

ImaginaryDevelopment opened this issue Aug 6, 2013 · 2 comments

Comments

@ImaginaryDevelopment
Copy link

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.
image

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
image

that character doesn't even exist in the app.debug.config

image

@sayedihashimi
Copy link
Owner

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//issues/101
.

@ImaginaryDevelopment
Copy link
Author

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//issues/101#issuecomment-22272784
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants