When clicked Yes for pop up "To run this application, you must install .NET. Would you like to download it now?", it won't open web page to download .net if I already have some other .net installed.

harinder singh 0 Reputation points
2024-01-12T20:18:46.5433333+00:00

My application needs ".NET 5.0 Desktop Runtime" to get executed and if this .net version is not available then the application gives pop up saying "To run this application, you must install .NET. Would you like to download it now?". If I Click on yes, it will open web page to download the " .NET 5.0 Desktop Runtime", However if I already have some other version like "Microsoft Windows Desktop Runtime 6.0.24" then it still shows that pop up but it will not open any web page when clicked on yes button like previously.

I found Microsoft document related to it but it won't answer my question
Troubleshoot app launch failures - .NET | Microsoft Learn

The problem is when we click "yes" on the below pop up, it won't take to the web page if we already have a different version installed.
Image

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,451 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 27,001 Reputation points Microsoft Vendor
    2024-01-15T06:44:41.14+00:00

    Hi @harinder singh This pop-up should not have appeared in the context of .NET Desktop Runtime 6.0.24 already installed. Try running your app in compatibility mode or as an administrator. Perhaps you should update your application's target framework to a newer version. Best Regards.

    Jiachen Li


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

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments