Windows app is getting crash after downgrading .net 8 to .net 7 versions.

Vinothkumar Swaminathan 20 Reputation points
2024-04-12T04:10:37.6333333+00:00

Windows app is getting crash after a button click event. No error trace it's showing WinRT COM exception. If I put a break point sometimes the app is working fine. This one I experienced after downgrading .net 8 to .net 7 versions.

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,819 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Hania Lian 8,381 Reputation points Microsoft Vendor
    2024-04-12T06:33:15.93+00:00

    Hello,

    To resolve this issue, I would recommend the following steps:

    1. Check if your application is compatible with the .NET framework version you have downgraded to. If not, you may need to upgrade your application to be compatible with the .NET framework version you are using.
    2. Check if there are any missing dependencies or references in your application.

    Best Regards,

    Hania Lian

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.


  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more