I am getting the following exception when I try to run .NET 4.5 exe using Java (.NET 4.0 is installed on the machine
System.ComponentModel.Win32Exception: Thrown from .NET, original message: The specified executable is not a valid application for this OS platform.
Everything works fine if it's .NET 4.0 app. I've tried to set this attribute but still no luck.
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
I don't have access to Java app so I can't debug it. Are there any obvious reasons for that?