-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Generated files re-appearing without explicit build #4944
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
Labels
Milestone
Comments
From discussion today: Implement ability to either generate files during design time build or not. Once we have that configuration (A property, we think global to the project is OK) we will play with the feature both ways and see which experience we like better for the default. |
dougbu
added a commit
that referenced
this issue
Apr 19, 2019
- #7492 - remove document generation from client project; will be included in Web API project infrastructure (coming soon) Also - provide `%(FirstForGenerator)` metadata, #4916 - add `$(OpenApiGenerateAtDesignTime)` property (default `true` for now), #4944 - generate code in `obj` directory by default, #4945
dougbu
added a commit
that referenced
this issue
Apr 19, 2019
- #7492 - remove document generation from client project; will be included in Web API project infrastructure (coming soon) Also - provide `%(FirstForGenerator)` metadata, #4916 - add `$(OpenApiGenerateAtDesignTime)` property (default `true` for now), #4944 - generate code in `obj` directory by default, #4945
dougbu
added a commit
that referenced
this issue
Apr 22, 2019
- #7492 - remove document generation from client project; will be included in Web API project infrastructure (coming soon) Also - provide `%(FirstForGenerator)` metadata, #4916 - add `$(OpenApiGenerateAtDesignTime)` property (default `true` for now), #4944 - generate code in `obj` directory by default, #4945
dougbu
added a commit
that referenced
this issue
Apr 22, 2019
- set `%(FirstForGenerator)` based on `%(CodeGenerator)` metadata Side note, PR fixes include - add `%(FirstForGenerator)` metadata, #4916 - add support for disabling design-time builds, #4944 - change default output directory to `obj/`, #4945 1 of 2 (remainder will come with #8242) - provide a default `%(CodeGenerator)` value, ##7491 1 of 2 (remainder will come in next milestone)
dougbu
added a commit
that referenced
this issue
Apr 22, 2019
- #7492 - remove document generation from client project; will be included in Web API project infrastructure (coming soon) - adjust eng/ProjectReferences.props to new project name - simplify item de-duplication in `_CreateCompileItemsForServiceFileReferences` target i.e. use `Remove` attribute - also handle `.tsx` files in this target - provide `%(FirstForGenerator)` metadata, #4916 - add `$(OpenApiGenerateAtDesignTime)` property (default `true` for now), #4944 - generate code in `obj` directory by default, #4945 - provide a default `%(CodeGenerator)` value, ##7491 1 of 2 (remainder will come in next milestone) nits: - remove a useless `StringBuilder.Append(...)` call - remove `%(OpenApiProjectReference.SourceProject)` metadata, duplicated `%(OriginalItemSpec)` - be more consistent about using element syntax for item metadata
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If I delete a generated client file then it will reappear immediately. My theory for this was that changing the files in the project was causing a design-time build to happen.
The text was updated successfully, but these errors were encountered: