Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

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

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

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You have to change .NET5 <PublishSingleFile>true</PublishSingleFile> to setting below:

<PublishSingleFile Condition="'$(Configuration)' == 'Release'">true</PublishSingleFile>

After this change, you'll able to run with Debugging.

This issue mentioned and solved on these topics. You may check the details.

  1. https://github.com/dotnet/wpf/issues/5677
  2. https://github.com/dotnet/runtime/issues/45382
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!