locked
Lightswitch Parameters.xml - existing datasource cannot be transformed RRS feed

  • Question

  • Hi all,

    I've got a simple Lightswitch project which declares an Existing Data Source, and I want to package it, and deploy it via msdeploy.exe.

    (VS 2012 Professional, MSDeploy 7.1.618.0)

    However the XPath generated in the parameters.xml file which is part of the deployment package is wrong. It outputs:

    match="configuration/connectionStrings/add ...

    which according to msdeploy (in verbose mode) does not match the correctly named connection string in web.config. If I manually change this to the following, and re-zip

    match="/configuration/connectionStrings/add ...

    (note the leading forward slash before configuration), then things work and the package is deployed with the correct connection string.

    Anyone seen this before or got any ideas... I've seen some posts around re-packaging the package with a different parameters.xml file but this seems heavyweight.

    Thanks,

    Graeme


    Wednesday, January 23, 2013 7:35 AM

All replies

  • Thanks for reporting this issue.  It will be fixed in an upcoming release.

    David Kidder | Senior SDET | Microsoft | LightSwitch

    Friday, February 15, 2013 9:37 PM
    Moderator