Search code examples
azureazure-resource-group

Azure Resource Group (2.9) error: PowerShell deployment script is missing


I followed this link (https://azure.microsoft.com/en-us/documentation/articles/vs-azure-tools-resource-groups-deployment-projects-create-deploy/) to create azure resource group. However, I got the error when deploying the Project "PowerShell deployment script is missing"

Does anyone knows what cause this error? I am using VS2013 and Azure sdk 2.9


Solution

  • I burned a lot of time debugging the same problem!

    Make sure in the file properties for the ps1 file are set to Build Action = "Content"

    This will ensure that it's copied to the bin folder during building.