exe.config problem


Licensed User
If I legacy compile for the device, so creating a device exe.config file, then optimise compile for the desktop using the same exe name the desktop fails to run as the device exe.config is picked up by .NET and the supported runtime versions are wrong for the desktop.

I think that the optimising compile should check for a exe.config of the same name and delete it if present. It will always be recreated by the legacy compiler if the same name is reused.