Was getting this same error. Fixed it by going to the solution properties, Configuration Properties, and switching Platform to “Win64”.
Was getting this same error. Fixed it by going to the solution properties, Configuration Properties, and switching Platform to “Win64”.