DotnetProjectResource.WithBuildEnvironment
Method
type DotnetProjectResource interface { // ... omitted for brevity WithBuildEnvironment( name string, value string, ) DotnetProjectResource}Signature
method
WithBuildEnvironment builderAdds an environment variable to the build process for a .NET project.
WithBuildEnvironment( name string, value string,) DotnetProjectResourceParameters
namestringThe name of the environment variable.valuestringThe value of the environment variable.Returns
DotnetProjectResource A reference to the I for chaining additional configuration.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: