As additional information (a solution provided by Reed Copsey), you can have several supported Runtime elements to support systems where 4.x is not installed:
<configuration> <startup> <supportedRuntime version="v4.0" /> <supportedRuntime version="v2.0.50727" /> </startup> ...
And that will make it work well in Windows 8 or previous versions where .NET 4.x is not installed.
source share