Pass in build arguments to projects #13790
Unanswered
tobias-varden
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have a build argument I would like to pass in to Aspire for a ASP.NET project.
This build argument (for the sake of the argument let's call it /p:DONOTDISTURB), will be tied to a build constant, so that I can turn off certain parts of the code using #if / #endif preprocessor directives.
However, I see no way of pushing this build argument in the Aspire AppHost?
Reviewing the code it doesn't seem possible. Is this something you have thought about adding?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions