Reputation: 167
I need to release an application that:
For this purpose I made the application in .NET 5.0 and published it according to the settings visible in the image.
In the settings I specify the Self-Contained property.
Running the application on Windows 11, Windows 10 and Windows 8.1 I have no problems but on Windows 7 I have a .NET Runtime ID 1023 error as in the image.
What could be the problem? How should I publish the application so that I don't need to install anything?
Upvotes: 4
Views: 1626
Reputation: 478
Unfortunately Windows 7 SP1 is supported only with Extended Security Updates installed. The same statement also applies to net6.
I managed to get it to work (with net6) by installing those updates from the Microsoft Update Catalog:
this is Windows Management Framework 5.1
In addition, in some installation, I had to also install PowerShell v7.2.1 .
I was unable to run the application on a fresh install of Windows 7 SP1 in any way.
Upvotes: 2