Skip to content
This repository has been archived by the owner on May 21, 2018. It is now read-only.

Custom place where the T4TS.d.ts file is generated #59

Open
Andras-Csanyi opened this issue Mar 31, 2016 · 2 comments
Open

Custom place where the T4TS.d.ts file is generated #59

Andras-Csanyi opened this issue Mar 31, 2016 · 2 comments

Comments

@Andras-Csanyi
Copy link

Hi,

It a great job! It saves a lot of typing time! Thanks for creating it! :)

I have two questions:

  • is there any way to setup that the T4TS.d.ts file is generated to a custom directory? For example, my Contracts are in a separated file, but the typescript files are placed in an webproject. I want the ts interfaces there and I don't want to copy if it is possible.
  • is there any option to set up the tool in the way where the result is 1 C# class / 1 typescript interface / 1 ts file? It would me more organized for me.

Thanks,

András

@cskeppstedt
Copy link
Owner

cskeppstedt commented May 4, 2016

Hi András,

Thanks! I'm sorry, i'm not actively working on the project anymore (nor C# or TS for that matter), so I don't quite remember. I'll give it a try:

is there any way to setup that the T4TS.d.ts file is generated to a custom directory

I think so.. but only within the same project where the nuget package is installed. Did you manage to solve it?

is there any option to set up the tool in the way where the result is 1 C# class / 1 typescript interface
/ 1 ts file?
Unfortunately without a lot of changes to the output-formatter.

Sorry, hope I could help in some way.

@ragnarol
Copy link

ragnarol commented Jul 6, 2017

Just crated a pull request with a change that allows this:
#63

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

No branches or pull requests

3 participants