Command: "D:\home\site\deployments\tools\deploy.cmd"
Handling ASP.NET Core Web Application deployment with MSBuild.
MSBuild auto-detection: using msbuild version '14.0' from 'D:\Program Files (x86)\MSBuild\14.0\bin'.
Restoring packages for D:\home\site\repository\src\Sertech\project.json...
Committing restore...
Lock file has not changed. Skipping lock file write. Path: D:\home\site\repository\src\Sertech\project.lock.json
D:\home\site\repository\src\Sertech\Sertech.xproj
Restore completed in 1753ms.
NuGet Config files used:
C:\DWASFiles\Sites\#1SertechWebApp\AppData\NuGet\NuGet.Config
Feeds used:
https://api.nuget.org/v3/index.json
Cannot find DNX runtime dnx-clr-win-x86.1.0.0-rc1-update1 in the folder: .dnx\runtimes
D:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Common.Targets(248,5): error MSB4044: The "GetBuildOptions" task was not given a value for the required parameter "RuntimeToolingDirectory". [D:\home\site\repository\src\Sertech\Sertech.xproj]
Failed exitCode=1, command="D:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" "D:\home\site\repository\Sertech.sln" /nologo /verbosity:m /p:deployOnBuild=True;AutoParameterizationWebConfigConnectionStrings=false;Configuration=Release;UseSharedCompilation=false;publishUrl="D:\local\Temp\8d3d203fca67f23"
An error has occurred during web site deployment.
\r\nD:\Program Files (x86)\SiteExtensions\Kudu\57.50831.2397\bin\Scripts\starter.cmd "D:\home\site\deployments\tools\deploy.cmd"
Visual Studioの[Web公開]オプションは問題なく動作しますが、この問題はBitBucketの展開でのみ発生します。
は、問題を検索中に私が見つけたカスタム展開スクリプトを使用してください:私は順不同で、これまでに試した何
。
私の
Azure WebアプリケーションのKuduページからダウンロードしたカスタム展開スクリプトを使用します。VSでSDKのバージョンを変更します。
dnx-clr-win-x86 nugetパッケージをローカルにインストールします。
アズールコンソールを使用してWebアプリケーションのリソース
上DNX-CLR-WIN-x86のnugetパッケージをインストールします(これはパッケージを見つけることができませんでした)。誰もがさらにトラブルシューティングのために正しい方向に私を指すか、解決策を持っていることができれば
私は非常に感謝するでしょう。
はこの1つを試してみてください。 https://github.com/aspnet/dnx/issues/2207 – Dileep
問題はAzure側でのみ発生し、ビルドはローカルで正常に動作します。 – BrandonB