Home > Software design >  .Net 6 framework not found on target machine
.Net 6 framework not found on target machine

Time:08-16

I am experiencing the following issue:

  • Installed .Net 6 SDK on my development machine and created an executable using Visual Studio 2022 (using .Net 6): enter image description here
  • Installed .Net 6 Runtime on target machine: enter image description here

However, when I try to run the executable I get this error: enter image description here

CodePudding user response:

Just to confuse you, Microsoft publishes many different versions of the .NET 6 runtime. There are versions for ASP.NET hosting, Console applications and Windows desktop. You need to ensure that the desktop version is installed.

  • Related