Error while creating Deployment Package of Saas Project
I was Following documentation for Saas Deployment. I am getting error when i am running following command:
.\Export-DeploymentPackage.ps1 -AssemblyName "SaasPOC"
I am getting following error as follow
ZipArchiveHelper : The process cannot access the file 'D:\Xperience By Kentico Learning\Examples\SaaS\src\SaasPOC.Web\b in\CloudDeployment$CDRepository@global\cms.class\cms.contentitemcommondata.xml' because it is being used by another process. At C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules\Microsoft.PowerShell.Archive\Microsoft.PowerShell.Archive.psm1:697 char:30
Now i have close all the project still getting this error. I also tried to run the powershell in administrator mode.
Environment
- Xperience by Kentico version: [30.3.0]
- .NET version: [8]
- Execution environment: [SaaS]
Answers
Is your application running while you create the deployment package? It needs to be stopped.
Also, your IDE/editor might have a handle on the file - try closing your editor before you run the PowerShell command.
To answer this question, you have to login first.