XML仕様が無効です。名前空間 'http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition'の 'WebRole'要素に不完全な内容があります。考えられる要素のリスト:名前空間 'http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition'の 'Sites'エラーが言うようにここでXML仕様が無効です。
は、XMLファイル
<?xml version="1.0" encoding="utf-8"?>
<ServiceDefinition name="AzureCloudService1" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2015-04.2.6">
<WebRole name="Web" vmsize="Small">
<Startup>
<Task commandLine="StartUp.cmd" executionContext="elevated" taskType="background" />
</Startup>
</WebRole>
</ServiceDefinition>
XMLを共有できますか? –
gauravを確認してください。 –
csdefファイルに問題があります。 csdefファイルのスキーマ(https://msdn.microsoft.com/en-us/library/azure/gg557553.aspx)を参照してください。このファイルをどのように作成しましたか? –