{"action":"opened","issue":{"url":"https://api.github.com/repos/BTDF/DeploymentFramework/issues/383","repository_url":"https://api.github.com/repos/BTDF/DeploymentFramework","labels_url":"https://api.github.com/repos/BTDF/DeploymentFramework/issues/383/labels{/name}","comments_url":"https://api.github.com/repos/BTDF/DeploymentFramework/issues/383/comments","events_url":"https://api.github.com/repos/BTDF/DeploymentFramework/issues/383/events","html_url":"https://github.com/BTDF/DeploymentFramework/issues/383","id":271456473,"number":383,"title":"StartReferencedApplicationsOnDeploy (False) only works in combination with UseLegacyApplicationControl (True)","user":{"login":"tfabraham","id":10138276,"avatar_url":"https://avatars0.githubusercontent.com/u/10138276?v=4","gravatar_id":"","url":"https://api.github.com/users/tfabraham","html_url":"https://github.com/tfabraham","followers_url":"https://api.github.com/users/tfabraham/followers","following_url":"https://api.github.com/users/tfabraham/following{/other_user}","gists_url":"https://api.github.com/users/tfabraham/gists{/gist_id}","starred_url":"https://api.github.com/users/tfabraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tfabraham/subscriptions","organizations_url":"https://api.github.com/users/tfabraham/orgs","repos_url":"https://api.github.com/users/tfabraham/repos","events_url":"https://api.github.com/users/tfabraham/events{/privacy}","received_events_url":"https://api.github.com/users/tfabraham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-06T12:19:14Z","updated_at":"2017-11-06T12:19:14Z","closed_at":null,"author_association":"OWNER","body":"Deployment Framework V6.0\n\nFirst of all, I am a new user of the BTDF and it works great!\n\nI am trying to accomplish that under no circumstances receive locations (also/especially from referenced apps) will be automatically enabled. So I tried to use the following properties in my BTDF project file. \n<EnableAllReceiveLocationsOnDeploy>False</EnableAllReceiveLocationsOnDeploy>\n<StartReferencedApplicationsOnDeploy>False</StartReferencedApplicationsOnDeploy>\n\n\nUnfortunately, this will not prevent the referenced apps from starting and its receive locations from enabling.\n\nEnableAllReceiveLocationsOnDeploy\nI figured out that this property only applies to the BizTalk app you are currently deploying and not to referenced apps. I think this is fair enough.\n\nStartReferencedApplicationsOnDeploy\nThis property only has effect in combination with the property \n<UseLegacyApplicationControl>true</UseLegacyApplicationControl> (target: StartApplicationViaBizTalk).\n\nIn the BizTalkDeploymentFramework.targets file you can find the target \"StartTheApplication\" and this target uses the property StartReferencedAppsDefaultAction with a default value of \"Start\".\n\nSo, I am missing the possibility of specifying the ApplicationStartOptions for a referenced BizTalk app, because in my situation it is ok that the app will start, but it is not ok that it will enable the receive locations. \n\nI think this can be resolved by extending the ControlBizTalkReferencedApps element (in the BizTalkDeploymentFramework.targets file) and C# class (ControlBizTalkReferencedApps.cs), with an attribute StartOption. And then apply the value of ControlBizTalkAppStartOption, which is already composed out of the properties EnableAllReceiveLocationsOnDeploy and StartReferencedApplicationsOnDeploy. This is similar to the legacy ControlBizTalkApp element and C# class.\n\nAm I right or missing something? I am looking forward to some replies/reviews.\n\nBest Regards,\n\nMella\n\nPs. Uploaded a Patch.\n\r\n\r\n#### This work item was migrated from CodePlex\r\nCodePlex work item ID: '10956'\r\nVote count: '1'\r\n"}}
{"actor":{"display_login":"tfabraham"}}