Channels
announcements
automation-api
aws
azure
blog-posts
built-with-pulumi
cloudengineering
cloudengineering-support
content-share
contribex
contribute
docs
dotnet
finops
general
getting-started
gitlab
golang
google-cloud
hackathon-03-19-2020
hacktoberfest
install
java
jobs
kubernetes
learn-pulumi-events
linen
localstack
multi-language-hackathon
office-hours
oracle-cloud-infrastructure
package-authoring
pulumi-ai
pulumi-cdk
pulumi-cloud
pulumi-crosscode
pulumi-deployments
pulumi-kubernetes-operator
pulumiverse
python
registry
status
testingtesting123
testingtesting321
typescript
welcome
workshops
yaml
Powered by
Title
l
loud-shampoo-49194
12/30/2020, 10:48 AM
Is there a way to pass dotnet build flags to the pulumi up command? It would be nice to pass a configuration (Instead of using Debug as default)
t
tall-librarian-49374
12/30/2020, 10:55 AM
Probably not, I think it’s hard-coded
https://github.com/pulumi/pulumi/blob/master/sdk/dotnet/cmd/pulumi-language-dotnet/main.go#L358
You would need to build a binary separately and then point to it in the yaml file as described in
https://www.pulumi.com/docs/intro/concepts/project/#pulumi-yaml
l
loud-shampoo-49194
12/30/2020, 11:00 AM
Thanks, just checked the documentation and it explains it nicely - I can work with that approach 🙂
3 Views
#dotnet
Join Slack