-
Notifications
You must be signed in to change notification settings - Fork 59
Question: controlling the build order #234
Comments
You'll probably want to add the CodeGeneration.Roslyn/src/CodeGeneration.Roslyn.Tool/build/CodeGeneration.Roslyn.Tool.targets Lines 15 to 20 in fd12007
|
yup - that worked. to be precise, took the following steps. in the project/s with the attributes and the codegen classes:
NB: added the following to the project with the custom CGR attributes/codegens and not the other generators MSBuild target
if there could be a better way - do advise, else please close the ticket. |
If you can share what exactly is that other generator, I could look and advise. As is, your solution looks like a hacky one. Maybe a better one can be written. |
https://github.com/AArnott/CodeGeneration.Roslyn/wiki/Features#definitions Please use terms as defined, so I'll be able to understand you quickly. For a quick enhancement, you could replace CallTarget, which is rarely a good idea, with DependsOn=Generate... in your custom target. |
how can one ensure CGR is the first to run in the presence of multiple code generation/s in the build pipeline?
The text was updated successfully, but these errors were encountered: