Thanks for sharing!
Unfortunately I'm getting errors like this:
\D3DDevice.cs(56,23,56,36): error CS0122: 'System.Runtime.InteropServices.NativeMethods' is inaccessible due to its protection level
\D3DDevice.cs(60,23,60,36): error CS0122: 'System.Runtime.InteropServices.NativeMethods' is inaccessible due to its protection level
\D3DDevice.cs(107,25,107,3

: error CS0122: 'System.Runtime.InteropServices.NativeMethods' is inaccessible due to its protection level
\D3D11Device.cs(51,17,51,20): error CS0122: 'System.Diagnostics.Log' is inaccessible due to its protection level
i searched the web, but couldn't find a solution. Anyone an idea?
Best regards
schlicht