我尝试将Azure Dev Spaces用于已部署到Azure Kubernetes Service(AKS(的现有 ASP.NET 核心项目。
我按照本指南为我的项目启用了 Azure 开发空间。但是,当我尝试使用 Azure 开发空间调试我的项目时,出现以下错误:
Enabling debugging... There is no more space available for file synchronization. Please remove unused spaces by running 'azds down', reduce the size of your workspace, and retry later.
运行azds down
并不能解决我的问题:
PS D:sourcesgit> azds down
Identifying the dev space workload 'xxx'...
'myproject' does not identify any dev space workload.
如果我尝试在命令行中调用azds up
,也会收到错误:
Using dev space 'myresourcegroup' with target 'mycluster'
Synchronizing files...Oops... An unexpected error has occurred. A report of the error will be sent to Microsoft. Please include the following Client Request ID when contacting support: 5696f5ea-.....
有什么想法吗?
当 useGitIgnore 属性在 azds.yaml 文件中设置为 false 时,会发生这种情况。