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

DTOs generated in wrong location if duplicated #15

Open
msawczyn opened this issue Feb 12, 2018 · 0 comments
Open

DTOs generated in wrong location if duplicated #15

msawczyn opened this issue Feb 12, 2018 · 0 comments

Comments

@msawczyn
Copy link

I know ... bad title. But I couldn't come up with a good way of saying it in a few words.

Generate a DTO from one project into another (e.g., from a project with EF entities into a web project). Then generate using the same source class with the same name into the same target project, but in a different directory within that target project (I used /Models/Product and /Models/Recipe as my two directories).

The tool picks up the correct namespace name, but generates over the first file, which isn't in the directory you chose for the target. The first file is overwritten. Expected behavior is that the first file will be left untouched and the second would be generated in the directory requested.

Thanks.

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

1 participant