none
Error while trying to deploy using BTDF 5.6

    Question

  • Hi 

    I am trying to deploy my BizTalk 2013 solution using BTDF 5.6 but I am getting below error.

        Target InitSettingsFilePath:
            Using settings file E:\DATA\BTDF_all\BizTalkPracticeSolns\NewBTDF2013\NewBTDF2013.Deployment\EnvironmentSettings\Exported_LocalSettings.xml
        Target SetPropertiesFromEnvironmentSettings:
            Setting properties from environment settings file (E:\DATA\BTDF_all\BizTalkPracticeSolns\NewBTDF2013\NewBTDF2013.Deployment\EnvironmentSettings\Exported_LocalSettings.xml)
            C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1145,5): error MSB4044: The "SetPropFromEnvSetting" task was not given a value for the required parameter "PropertyName". [E:\DATA\BTDF_all\BizTalkPracticeSolns\NewBTDF2013\NewBTDF2013.Deployment\Deployment.btdfproj]
        Done building target "SetPropertiesFromEnvironmentSettings" in project "Deployment.btdfproj" -- FAILED.
    Done building target "Deploy" in project "Deployment.btdfproj" -- FAILED.

    Done building project "Deployment.btdfproj" -- FAILED.

    Build FAILED.

    C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1145,5): error MSB4044: The "SetPropFromEnvSetting" task was not given a value for the required parameter "PropertyName". [E:\DATA\Srini\BTDF_all\BizTalkPracticeSolns\NewBTDF2013\NewBTDF2013.Deployment\Deployment.btdfproj]
        0 Warning(s)
        1 Error(s)

    Time Elapsed 00:00:00.15

    Please let me know what could be the reason.

    Regards,

    Uday kiran.

    Tuesday, September 27, 2016 7:28 PM

Answers

  • Have been struggeling with the same problem.

    Solution is:

    Go to folder C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0

    Open file BizTalkDeploymentFramework.targets

    Go to line 1145 - here you see the "SetPropFromEnvSetting" element

    Add "Propertyname", PropertyName="@(PropsFromEnvSettings)", as an attribute here - so you get:

        <SetPropFromEnvSetting
    SettingsFilePath="$(SettingsFilePath)"
    XPath="/settings/property[@name='@(PropsFromEnvSettings)']"
    Identity="%(Identity)"
    Condition="'$(SettingsFilePath)' != '' and Exists('$(SettingsFilePath)')"
    PropertyName="@(PropsFromEnvSettings)"> 
          <Output TaskParameter="Value" PropertyName="@(PropsFromEnvSettings)" />
        </SetPropFromEnvSetting>

    Regards

    Kjell Helge

    Monday, October 24, 2016 6:33 AM

All replies

  • Hi Uday,

    can you share the btdf project file??

    Regards,


    Mandar Dharmadhikari

    Wednesday, September 28, 2016 3:51 AM
    Moderator
  • HI Uday kiran,

    Any update for this issue? we need more information to look into it further.

    Regards,

    Angie


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Thursday, October 6, 2016 6:50 AM
    Moderator
  • Have been struggeling with the same problem.

    Solution is:

    Go to folder C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0

    Open file BizTalkDeploymentFramework.targets

    Go to line 1145 - here you see the "SetPropFromEnvSetting" element

    Add "Propertyname", PropertyName="@(PropsFromEnvSettings)", as an attribute here - so you get:

        <SetPropFromEnvSetting
    SettingsFilePath="$(SettingsFilePath)"
    XPath="/settings/property[@name='@(PropsFromEnvSettings)']"
    Identity="%(Identity)"
    Condition="'$(SettingsFilePath)' != '' and Exists('$(SettingsFilePath)')"
    PropertyName="@(PropsFromEnvSettings)"> 
          <Output TaskParameter="Value" PropertyName="@(PropsFromEnvSettings)" />
        </SetPropFromEnvSetting>

    Regards

    Kjell Helge

    Monday, October 24, 2016 6:33 AM