slimdx: ngen.exe fails generating image for dll that references SlimDX

My application uses the SlimDX November 2008 runtime, which I recently
switched to from Managed DX. Now, when I try to run ngen.exe on my
application, I get the following error:

Error compiling HalflingWin32, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=
fb1ae2b2d44045eb: Internal CLR error. (Exception from HRESULT: 0x80131506)
Internal CLR error. (Exception from HRESULT: 0x80131506)

HalflingWin32 is a DLL that references SlimDX. More specifically, Direc3D,
DirectSound, and DirectInput.

If you don't know about ngen.exe, here's an article on MSDN:

http://msdn.microsoft.com/en-us/library/6t9t5wcf.aspx

Thanks.

Original issue reported on code.google.com by holyfuzz...@gmail.com on 7 Dec 2008 at 6:39

About this issue

  • Original URL
  • State: closed
  • Created 12 years ago
  • Comments: 15

Most upvoted comments