Click here to Skip to main content
15,885,875 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hi there!! Every time i start a new project a got a different error. But this one is making me out of my mind. Im working in a Portuguese environment, but i translated the error to you so that may be a solution for the file. The project runs, but as soon as the windows apears, its bolocks right away. Any help? Thanks!

Here is the error image:

[^]


"Unable to load the file or assemble.......

Is one of the respective dependencies. The system could not locate the specified file."

please answer to [Removed Email Address] is possible. Thanks a lot!
Posted
Updated 5-Jun-13 13:01pm
v2
Comments
Richard C Bishop 5-Jun-13 18:31pm    
That exception means you have not added a reference to the file or assembly you are attempting to use.
Sergey Alexandrovich Kryukov 5-Jun-13 18:55pm    
No, sorry. If a reference is not added, the project wouldn't compile.
But the compiled module files of the actually referenced assembly could be missing during runtime.
Also, it could be a problem of incompatible version of the assembly and CLR. Or something like that.

Perhaps you just did not express the right idea correctly.

—SA
Richard C Bishop 6-Jun-13 10:16am    
You are correct, I conflated that exception with another.
Sergey Alexandrovich Kryukov 6-Jun-13 10:53am    
OK, then we understand it.

Please disregard my previous comment (deleted), I conflated this question with another one, sorry. :-)

—SA
Sergey Alexandrovich Kryukov 5-Jun-13 18:58pm    
Please see my comment to the question above. You problem is the lack of relevant information. You cannot expect much more help unless you do some more research of the problem and share some more information.
—SA

1 solution

This is probably because you are compiling in AnyCPU and running on an x64, while the Kinect API is compiled under x86. Change your project properties to target x86 and the issue will probably go away.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900