Start with Debugging fails after upgrade from .NET5 to .NET6 on WPF

Viewed 776

I upgraded my WPF project from .NET5 to .NET6. When I try to run the project it gives Unable to attach to CoreCLR. Operation not supported

But, I am able to run Without Debugging.

I tried to clean and update Nuget Packages to .NET6. Also, removed the obj and bin folders. These didn't solve the problem.

How can I re-enable Debugging? Thanks.

Unable to debug

1 Answers
Related