Run the winform program prompt: You must install .NET Desktop Runtime 6.0.1(x64)

created at 02-14-2022 views: 19

Scenes

A winform program needs to be packaged and sent to the client to run. At first, all files under debug were sent to the customer, and then the customer clicked the exe file to run and prompted that .NET Desktop Runtime 6.0.1 was not installed. Then try to use the plug-in Microsoft Visual Studio Installer Projects of Visual Studio to package it into a setup file. After installation, the customer still prompts that .NET Desktop Runtime 6.0.1 is not installed.

solution

The customer's computer must be installed with the relevant environment: go to Microsoft's official website to download runtime-desktop-6.0.1-windows-x64-installer, and then run the installation.

created at:02-14-2022
edited at: 02-14-2022: