rohit
  • 0
Beginner

ASP.NET Core

  • 0

Severity Code Description Project File Line Suppression State Error – Could not find a part of the path

  1. I have ASP.NET Core Windows Worker Service in Visual Studio 2022. Whenever I build or run the application, I got this error:

    I clean and rebuld, but the error remains.

    ERROR:

    Severity Code Description Project File Line Suppression State Error Could not find a part of the path ‘C:\MyApp\SchoolService.MySchoolProcessor\obj\Debug\net7.0\SchoolService.MySchoolProcessor.GeneratedMSBuildEditorConfig.editorconfig’. SchoolService.MySchoolProcessor C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\Roslyn\Microsoft.Managed.Core.targets 191

    • 1
  2. I have ASP.NET Core Windows Worker Service in Visual Studio 2022. Whenever I build or run the application, I got this error:

    I clean and rebuld, but the error remains.

    ERROR:

    Severity Code Description Project File Line Suppression State Error Could not find a part of the path ‘C:\MyApp\SchoolService.MySchoolProcessor\obj\Debug\net7.0\SchoolService.MySchoolProcessor.GeneratedMSBuildEditorConfig.editorconfig’. SchoolService.MySchoolProcessor C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\Roslyn\Microsoft.Managed.Core.targets 191 

    This is

    C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\Roslyn\Microsoft.Managed.Core.targets 191

    I clean and rebuild the application, the error still persists.

    Kindly help resolve the error.

    • 0

You must login to add an answer.