Add a setting in the settings spreadsheet with the BizTalk app names in the appropriate columns, and add the setting name (for example, AppName, used below) to the PropsFromEnvSettings item in the .btdfproj.
Then add a target like this:
I'm assuming that you're on BizTalk 2010 or newer. Hopefully that will get you the configured BizTalk application name for each environment.
Thanks,
Tom
Then add a target like this:
<TargetName="PreInitializeAppName"BeforeTargets="InitializeAppName"><PropertyGroup><BizTalkAppName>$(AppName)</BizTalkAppName></PropertyGroup></Target>
Thanks,
Tom