This project has moved and is read-only. For the latest updates, please go here.

EnableAllReceiveLocationsOnDeploy - values in different environments

Topics: Bindings File, Settings Management and SSO, Tips and Tricks
Apr 21, 2011 at 3:01 PM

When I am in development and testing environments, I want to deploy with the EnableAllReceiveLocationsOnDeploy property set to true.  However, when I am deploying to production, I want to open receive locations in a manually controlled manner.  Is there a way to set the EnableAllReceiveLocationsOnDeploy to different values for different target environments? 

Apr 21, 2011 at 3:48 PM

If you look in your .btdfproj, you'll see that there are already different behaviors defined for DeploymentFrameworkTargetsPath, OutputPath and DeployPDBsToGAC depending on which environment you are targeting (three PropertyGroup's).  Debug and Release are on a development/build machine, and Server is (naturally) for a server deployment.  You simply need to move your EnableAllReceiveLocationsOnDeploy property into those existing property groups and set the appropriate value.