.NET Framework 4.6.2에 대해 작성된 Azure 웹 응용 프로그램을 배포하려고 시도했지만 정상적으로 작동하는 것 같습니다. 그러나 동일한 응용 프로그램 내에서 .NET 4.6.2에 대해 구축 된 웹 작업을 배포하면 작동하지 않습니다. 나는 다음과 같은 오류가 발생합니다 다음과 같이Azure 웹 작업에서 .NET 4.6.2 지원
[10/06/2016 19:42:25 > b29283: SYS INFO] Status changed to Initializing
[10/06/2016 19:42:27 > b29283: SYS INFO] Run script 'Run.ps1' with script host - 'PowerShellScriptHost'
[10/06/2016 19:42:27 > b29283: SYS INFO] Status changed to Running
[10/06/2016 19:42:31 > b29283: INFO] Web job execution failed. Error code: -2146232576
[10/06/2016 19:42:31 > b29283: SYS INFO] Status changed to Failed
[10/06/2016 19:42:31 > b29283: SYS ERR ] Job failed due to exit code -1
Run.ps1 보이는 :
이[CmdletBinding()]
Param()
& "$PSScriptRoot\ConsoleApplication1.exe"
if ($lastexitcode -ne 0)
{
Write-Output "Web job execution failed. Error code: $lastexitcode"
exit -1
}
되는 ConsoleApplication1.exe 그냥 콘솔에 행을 인쇄 :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello from .NET 4.6.2");
}
}
}
언제에 대한 지원. NET Framework 4.6.2가 Azure 웹 작업에 추가됩니까?
효과가있는 경우 더 낮은 fx 버전을 의미 했습니까? 귀하의 질문에 그것을 해결할 수도 있습니다. –
@DavidEbbo 죄송합니다. –
죄송합니다, 당신이 질문을 잘못 읽었습니다 :) –