Windows Azure for PHP:计算模拟器错误


Windows Azure for PHP: Compute emulator error

在URL上仔细执行"构建和部署Windows Azure PHP应用程序"页面上的步骤时http://azurephp.interoperabilitybridges.com/articles/build-and-deploy-a-windows-azure-php-application',我在运行命令时执行"在本地开发环境中运行PHP应用程序"步骤时遇到以下错误:

package create -in="C:'temp'WindowsAzurePHPApp" -out="C:'temp'WindowsAzurePHPApp'build" -dev=true

C:'>package create -in="C:'temp'WindowsAzurePHPApp" -out="C:'temp'WindowsAzurePH
PApp'build" -dev=true
Windows(R) Azure(TM) Packaging Tool version 1.4.0.0
for Microsoft(R) .NET Framework 3.5
Copyright (c) Microsoft Corporation. All rights reserved.
C:'temp'WindowsAzurePHPApp'ServiceDefinition.csdef (15, 12): Error  CloudService
s051 : The XML specification is not valid: The required attribute 'value' is mis
sing.
C:'temp'WindowsAzurePHPApp'ServiceDefinition.csdef (15, 37): Error  CloudService
s051 : The XML specification is not valid: The element cannot contain white spac
e. Content model is empty.
C:'temp'WindowsAzurePHPApp'ServiceDefinition.csdef (16, 14): Error  CloudService
s051 : The XML specification is not valid: The element 'http://schemas.microsoft
.com/ServiceHosting/2008/10/ServiceDefinition:Variable' cannot contain child ele
ment 'http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition:Role
InstanceValue' because the parent element's content model is empty.
Windows(R) Azure(TM) Desktop Execution Tool version 1.4.0.0
for Microsoft(R) .NET Framework 3.5
Copyright (c) Microsoft Corporation. All rights reserved.
Starting the storage emulator...
Windows(R) Azure(TM) Desktop Execution Tool version 1.4.0.0
for Microsoft(R) .NET Framework 3.5
Copyright (c) Microsoft Corporation. All rights reserved.
Starting the compute emulator...
Windows(R) Azure(TM) Desktop Execution Tool version 1.4.0.0
for Microsoft(R) .NET Framework 3.5
Copyright (c) Microsoft Corporation. All rights reserved.
Using session id 1
Windows(R) Azure(TM) Desktop Execution Tool version 1.4.0.0
for Microsoft(R) .NET Framework 3.5
Copyright (c) Microsoft Corporation. All rights reserved.
Using session id 1
**The compute emulator had an unexpected error: Can't locate service descriptions.**
.
C:'temp'WindowsAzurePHPApp'build/WindowsAzurePHPApp.cspkg
C:'>

有人能帮我什么忙吗?我已经手动完成了此页面上的步骤。还手动完成了先决条件,并仔细地修改

ServiceDefinition.csdef文件的第15行是什么?我猜这将是下面的

<Variable name="EMULATED"> <RoleInstanceValue xpath="/RoleEnvironment/Deployment/@emulated" /> </Variable>

试着用普通的HTML注释标记()包装整个部分,以注释掉它,然后再次运行package命令。