No Process Associated with Object

Kmcnet 1,066 Reputation points
2022-04-20T01:38:34.447+00:00

Hello everyone and thanks for the help in advance. I am developing a MVC application using Visual Studio 2022 and .Net 6. I attempted to manually add authentication by adding:

builder.Services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme)
    .AddCookie();

When I add this line of code in Program.cs, I receive the error No Process Associated with Object. I have no idea what to do with this error after searching for quite a while. Any help would be appreciated.

Developer technologies | ASP.NET | ASP.NET Core
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.