title: Can't find PInvoke DLL error in Windows Mobile
body: <p>I am having a lot of trouble getting a basic scenario to work on windows mobile 5.0 emulator.  I have a winforms app that eventually calls into native code.  Deployment works fine and all the native DLLs are copied in the same folder as the winforms .exe.  I also verified this is the case with Remote File Viewer tool.</p>
  
  <p>However when I launch my app, it always fails with "Can't find PInvoke dll -- System.MissingMethodException" error (when the time comes to call into native code, the DllImport attribute is rendered useless).  I <em>know</em> that the native dll is found in the same folder as the executable.  What more should I do?</p>
  
  <p>I am using VS 2008.</p>