against the built dll instead of the project?
I’m looking to run against the dll in CI but would ideally like to not use the setting so local dev can just use the standard behaviour
g
gray-ambulance-59402
03/12/2025, 5:52 PM
We've got a novel way of solving this as we had a similar use-case.
We ended up having a Pulumi.yaml that does not specify the binary option alongside the codebase but also has a Pulumi-binary.yaml that does have the binary option specified.
Then in the csproj we set the option to copy the Pulumi-binary.yaml to Pulumi.yaml so that when
dotnet build
runs the bin folder should contain both the binaries and the Pulumi.yaml with the specified binary option to execute.
I'll try to dig out a minimal example to share
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.