Visual Studio 15.2上的ASP.NET Core Web应用HTTP错误502.5进程失败

编程入门 行业动态 更新时间:2024-10-15 04:21:33
本文介绍了Visual Studio 15.2上的ASP.NET Core Web应用HTTP错误502.5进程失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

如果在Visual Studio 15.2中创建一个新的ASP.NET Core项目并将其发布到Azure应用服务,则您的网站会显示"HTTP错误502.5-进程失败".如果更新现有网站,则会发生相同的错误.

If you create a new ASP.NET Core project in Visual Studio 15.2 and publish it to an Azure App Service, your website says "HTTP Error 502.5 - Process Failure". The same error occurs if you update an existing website.

如果尝试从Kudu调试控制台手动运行网站,则会收到错误消息,提示未安装ASP.NET Core 1.1.2.即使项目的netframeapp1.1的TargetFramework(大约为1.1.2),也会发生此错误.

If you try to run the website manually from the Kudu debug console, you get the error message that ASP.NET Core 1.1.2 isn't installed. This error occurs even though the project has a TargetFramework of netcoreapp1.1 (nothing about 1.1.2).

一天前用Visual Studio 15.1发布的完全相同的新项目或现有项目. VS的一些细微变化似乎破坏了成功发布的能力.

The exact same new or existing project published just fine a day ago with Visual Studio 15.1. Some subtle change to VS seems to have broken the ability to publish successfully.

如何解决或解决此问题?

How can I fix or work around this problem?

推荐答案

我的csproj文件属性TargetFramework包含值netcoreapp1.0.我已经用netcoreapp1.1.1进行了更改,目前看来一切正常.

My csproj file property TargetFramework contains the value netcoreapp1.0. I have changed it with netcoreapp1.1.1 and all seems going ok for now.

<PropertyGroup> <TargetFramework>netcoreapp1.1.1</TargetFramework> </PropertyGroup>

更多推荐

Visual Studio 15.2上的ASP.NET Core Web应用HTTP错误502.5进程失败

本文发布于:2023-11-17 08:48:50,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1609513.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:进程   错误   ASP   Visual   Studio

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!