wpf-发布程序

deployment 里面设置一下。

细节后面补充

.net framework

这个没想到相对于 .net core 非常麻烦

可以使用 NSIS

也可以用下面的
Installer Projects

.net core

win7 64位 系统

  1. 安装补丁包 Windows6.1-KB2533623-x64.msu
  2. 安装运行库 windowsdesktop-runtime-3.1.5-win-x64.exe

如果上面还不行,有可能还需要 KB2999226 补丁包