locked
Unable to deploy package after adding database project to lightswitch application RRS feed

  • Question

  • Hi,

    I created a lightswitch HTMLClient application using the intrinsic database and this works fine.

    Later I successfully adding a SQL database project and associated it with the Lightswitch application.

    However when I try to build the solution I get an expection error: "Could not deploy project"

    Seems to be the Microsoft.LightSwitch.targets file that is causing the issue:

    The element 'PropertyGroup' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003' has invalid child element 'UseDesignTimeFeatures' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003'. 

    Does anyone know what this might be.

    Thanks

    -- Update - I managed to solved this by changing the target platform in the db project settings to SQL Server 2012 from SQL Server 2014 
    • Edited by yungst4r Friday, November 7, 2014 12:14 PM solved the query
    Friday, November 7, 2014 11:03 AM

Answers