2016-08-01 17 views
1

ローカルマシンでビルドおよびパブリッシュを行うソリューションがあります。自分のローカルステップを模倣し、Azure Deploymentビルドステップを実行するTeam Services(XAMLビルドではなく新しいフレームワークを使用)でビルド定義を作成しました。Visual Studio Team Services(Visual Studio Online)ビルドでAzure Cloudサービスを展開できない

Set-AzureDeployment -Upgrade -ServiceName website -Package C:\a\1\s\WebsiteSolution\Azure\bin\Production\ServiceDefinition.csdef -Configuration C:\a\1\s\WebsiteSolution\Azure\bin\Production\ServiceConfiguration.cscfg -Slot Production -Label 20160801.4 -ExtensionConfiguration <extensions> 

次のエラーで:

Microsoft.WindowsAzure.Commands.Common.ComputeCloudException: BadRequest : Package conversion failed. Detailed error information: FileFormatException. ---> Hyak.Common.CloudException: BadRequest : Package conversion failed. Detailed error information: FileFormatException. at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task) at Microsoft.WindowsAzure.Management.Compute.DeploymentOperationsExtensions.UpgradeBySlot(IDeploymentOperations operations, String serviceName, DeploymentSlot deploymentSlot, DeploymentUpgradeParameters parameters) at Microsoft.WindowsAzure.Commands.Utilities.Common.ServiceManagementBaseCmdlet.ExecuteClientActionNewSM[TResult](Object input, String operationDescription, Func`1 action, Func`3 contextFactory) --- End of inner exception stack trace --- at Microsoft.WindowsAzure.Commands.Utilities.Common.ServiceManagementBaseCmdlet.ExecuteClientActionNewSM[TResult](Object input, String operationDescription, Func`1 action, Func`3 contextFactory) 

間違って何が起こっているか誰も知っていますか、その生成されたパッケージの問題を診断する方法をAzureの展開は、ステップが一貫し、次のコマンドで失敗していることは構築します無効にする?

答えて

1

Azure Cloud Service Deploymentタスクには、CsPkgパッケージファイルが必要です。しかし、エラーログによれば、 "CsPkg"オプションのcsdefファイルを指定しています。ビルド定義を更新して "CsPkg"パスを正しく設定し、ビルドを再度キューに入れます。 enter image description here

関連する問題