title: Cannot load C++/CLI dll if it uses OpenMP
body: <p>I had a "Could not load file or assembly '<em>*</em>.dll' or one of its dependencies." on a C++/CLI dll called from a C# program. I eventually nailed this down to the use of a <code>#pragma omp</code> directive. If I remove all openmp directives and build, the assembly can be loaded. As soon as I add a single openmp directive, I get this exception. Of course, the compiler option openmp was enabled.</p>
  
  <p>This is on Visual Studio 2012 using the .NET 3.5 framework. Is there anything I can do to make this work? This is performance-critical code that has to compile with OpenMP. I have, by the way, tried to isolate this code into a separate native .lib and include that in the C++/CLI, to no avail.</p>