Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

615
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda