Azure / Commercial-Marketplace-SaaS-Accelerator

A reference example with sample code for developers interested publishing transactable, Software as a-Service offers in the Microsoft commercial marketplace.
MIT License
179 stars 276 forks source link

Could not find file "script.sql" #590

Closed FilibertoNencioni closed 8 months ago

FilibertoNencioni commented 8 months ago

Hi, I'm trying to start the deployment script (Deploy.ps1) directly from the PowerShell in Azure Portal, but every time I receive the same error even if it states that the build succeeded.

Deploy

dotnet tool install --global dotnet-ef; `
git clone https://github.com/Azure/Commercial-Marketplace-SaaS-Accelerator.git -b 7.4.0 --depth 1; `
cd ./Commercial-Marketplace-SaaS-Accelerator/deployment; `
.\Deploy.ps1 `
-WebAppNamePrefix "xxxxx" `
-ResourceGroupForDeployment "xxxxx" `
-PublisherAdminUsers "xxxxx" `
-Location "West Europe" `
-TenantID "xxxxx" `
-AzureSubscriptionID "xxxxx"

Error MicrosoftTeams-image

Environment:

santhoshb-msft commented 8 months ago

Hi @FilibertoNencioni please use the complete command from the installation instructions, which should add dotnet 6 installation.

In the next release we will have our install script check for dotnet 6., please see here for more info #583 before running the script. Closing this for now, please feel free to reopen on any additional questions.