Azure Deployment Center failing to deploy EF/Angular app

Discussão em 'Angular' iniciado por TheIronCheek, Março 21, 2025.

  1. TheIronCheek

    TheIronCheek Guest

    I'm trying to use the Azure Deployment Center to connect to my DevOps repo and deploy an Entity Framework/Angular app that I inherited.

    The deployment fails, however, and I'm not sure why. Any help would be appreciated!

    Here are the log details:

    [​IMG]

    Here's the tail end of what I get when I click on the "Show Logs..." link for "Running deployment command..." (I had to redact a large chunk of the 2nd to last line due to it being too long for StackOverflow questions):

    Done Building Project "C:\home\site\repository\MyApp.Web\MyApp.Web.csproj" (Restore target(s)).
    Project "C:\home\site\repository\MyApp.Web\MyApp.Web.csproj" on node 1 (default targets).
    PrepareForBuild:
    Creating directory "bin\Release\netcoreapp3.1\".
    Creating directory "obj\Release\netcoreapp3.1\".
    C:\home\site\repository\MyApp.Web\MyApp.Web.csproj : warning NU1701: Package 'Microsoft.Azure.KeyVault.Core 1.0.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project.
    C:\home\site\repository\MyApp.Web\MyApp.Web.csproj : warning NU1701: Package 'SendGrid.SmtpApi 1.3.3' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project.
    Project "C:\home\site\repository\MyApp.Web\MyApp.Web.csproj" (1:7) is building "C:\home\site\repository\MyApp.Data\MyApp.Data.csproj" (2:7) on node 1 (default targets).
    PrepareForBuild:
    Creating directory "bin\Release\netcoreapp3.1\".
    Creating directory "obj\Release\netcoreapp3.1\".
    CoreCompile:
    C:\Program Files (x86)\MSBuilds\16.7.0\MSBuild\Current\Bin\Roslyn\csc.exe /noconfig /unsafe- /checked- /nowarn:1701,1702,1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:TRACE;RELEASE;NETCOREAPP;NETCOREAPP3_1 <redacting a large chunk of this line due to it being over 39,000 characters long, too long for a StackOverflow question body> obj\Release\netcoreapp3.1\MyApp.Data.AssemblyInfo.cs /warnaserror+:NU1605
    Using shared compilation with compiler from directory: C:\Program Files (x86)\MSBuilds\16.7.0\MSBuild\Current\Bin\Roslyn
    Thread was being aborted.


    I have no idea what's happening here. Thanks!

    Continue reading...

Compartilhe esta Página