ANCM In-Process Start Failure, ASP.NET Core 3.1 apps after upgrading to VS 2022 v17.8

99 views Asked by At

Tried Repair, Rollback, Repair, Re-install and fresh install on HYper-V nothing works.

--------Update---------

Installing VS 2019 : new project generation for 3.1 generates empty solution, and old project from 2022 are not loading.

For now - navigating to project folder in command prompt and executing "dotnet run", is keeping things going.

Publishing is working ok.

Issue is in triage for now: https://developercommunity.visualstudio.com/t/After-updating-to-VS-2022-v178-net-cor/10517164


Duplicate of Unable to debug ASP.NET Core 3.1 apps after upgrading to VS 2022 v17.8

Stackoverflow doesn't allow any other activity than asking question @ my "reputation" so apologies for this duplicate.

1

There are 1 answers

0
Amar Chaudhary On

Issue is now "Under Investigation" Till then following workaround solves the problem: Source: https://developercommunity.visualstudio.com/t/Web-app-targeting-net50-stopped-working/10515999


Install .NET Framework 7 SDK : https://dotnet.microsoft.com/en-us/download/dotnet/7.0

  1. In VS top menu > Tools > Options Tools > Options

  2. Navigate to Projects and Solutions > ASP.NET Core

Projects and Solutions > ASP.NET Core

  1. Set Auto build and refresh option to None

enter image description here

This worked for me, hope this helps you too.