Assembly reference error [closed]

4

I'm trying to add a reference to my project, but when I add and execute the project it has this error:

  

Could not load file or assembly 'WaitWindow',   Version = 1.0.6164.26027, Culture = neutral, PublicKeyToken = null 'or a   of its dependencies. An attempt was made to load a   program in an incorrect format.

I found other posts with similar errors but none solved my problem

    
asked by anonymous 18.11.2016 / 16:40

1 answer

6

Jeremiah, this can happen if you are loading a 32bit dll for a 64bit project or configured for both. In this case you should change the target platform to x86 in the project properties.

    
19.11.2016 / 23:34