Can you tell me whether it is possible to change the .NetFramework
version of another application using the dnlib library?
// Properties.Resources.MyExeFile - Binary file located in application resources
using var module = ModuleDefMD.Load(Properties.Resources.MyExeFile);
if (module.IsILOnly)
{
module?.Write(Path.Combine(CurrDir, "Build.exe"));
}