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.
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.