It is slightly off topic but I could not post it in PEBakery topic (it is locked).
PEBakery normally requires .Net 4.7.1.
This is rather a recent version and you cant always install the latest framework (for whatever reasons - in my case, I am using my work laptop right now).
Creating a pebakery.exe.config with the below text will allow you to use what ever 4.x version you have on your system.
This a rather known/documented trick in the .Net world.
Several "supportedruntime" items can be added.
The software will also use the latest version.
I havent tried with earlier .Net versions.
All depends if PEBakary uses classes/methods found only in latest frameworks.
Note that it could also lead to crashes/inconsistent reasons for the above reason.
Provided that the developper is OK, this would ensure greater compatibility with various systems outthere.
This is one of the main issues when distributing .Net apps : missing/wrong .Net framework...
Still, I thought I would share...
More details here.
<configuration> <startup> <supportedRuntime version="v4.0"/> </startup> </configuration>