2

Visual Studio 経由で Azure App Service に公開しようとしている ASP.Net Core Web アプリケーション (DotNetCore.1.0.1 VS2015Tools.Preview2.0.2) があります。

Azure App Service とリソース グループはどちらもまったく新しいものです。

「コマンドの実行 ["C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy.exe"] で数分後に発行プロセスが失敗します。Visual Studio の「Web パブリッシュ アクティビティ」ログには、「ソケット エラー (10054) が発生したため、同期を再試行しています。オブジェクト サイトマニフェスト (sourcePath) で操作 'シリアル化' を再試行しています。試行 1/100」と表示されます。他にもたくさんのエラー 100 がありますが、それが最初のものです。

私はこの問題を ASP.Net コアで何度も経験してきましたが、実際には解決していません。

誰でも光を当てることができますか?

私のPublish.ps1は次のとおりです

[cmdletbinding(SupportsShouldProcess=$true)]
param($publishProperties=@{}, $packOutput, $pubProfilePath)

# to learn more about this file visit https://go.microsoft.com/fwlink/?LinkId=524327

try{
    if ($publishProperties['ProjectGuid'] -eq $null){
        $publishProperties['ProjectGuid'] = '28343c8d-220f-435e-9b48-bf90a3b9068d'
    }

    $publishModulePath = Join-Path (Split-Path $MyInvocation.MyCommand.Path) 'publish-module.psm1'
    Import-Module $publishModulePath -DisableNameChecking -Force

    # call Publish-AspNet to perform the publish operation
    Publish-AspNet -publishProperties $publishProperties -packOutput $packOutput -pubProfilePath $pubProfilePath
}
catch{
    "An error occurred during publish.`n{0}" -f $_.Exception.Message | Write-Error
}
4

0 に答える 0