locked
Deploy from repository to windows azure websites. RRS feed

  • Question

  • Any idea if they are planning to provide the possibility to publish lightswitch applications by use of azure websites, getting the sources from an external repository ? When trying to deploy a website, I'm getting the "Microsoft.LightSwitch.Build.Tasks.targets" was not found" build error.

    Handling .NET Web Application deployment.

    All packages listed in packages.config are already installed.

    D:\home\site\repository\myProject\myProjectlightswitch\myProjectlightswitch.Server\myProject.lightswitch.Server.csproj(230,3): error MSB4019: The imported project "D:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v4.5\Microsoft.LightSwitch.Build.Tasks.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

    Failed exitCode=1, command="D:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe"

    Sunday, June 15, 2014 9:43 AM

Answers

  • The imported project "D:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\LightSwitch\v4.5\Microsoft.LightSwitch.Build.Tasks.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

    According to the error message above, you need follow the path,  and check whether the Microsoft.LightSwitch.Build.Tasks.targets is existed.

    Regards


    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.

    • Proposed as answer by Lareina11 Thursday, June 26, 2014 8:03 AM
    • Marked as answer by Angie Xu Friday, June 27, 2014 6:59 AM
    Wednesday, June 18, 2014 10:30 AM