How to get the older versions of SharpDX dlls

This question is towards SharpDX and not exactly Monogame. I hope someone might help me out since SharpDX forum is officially closed.

I am trying to make this ScreenCapture example to work from SharpDX’s github. It gives me errors about DuplicateOutput method, Output1 class and OutputDuplicateFrameInformation struct, because all 3 don’t exist under SharpDX.DXGI namespace.

From their documentation DuplicateOutput method, Output1 class and OutputDuplicateFrameInformation struct, all exist in SharpDX.DXGI.dll 2.4.2.0.

I got the current .dlls I am using (SharpDX.dll, SharpDX.DXGI.dll and SharpDX.Direct3D11.dll) by installing SharpDX-SDK-2.6.3.exe and then opening it (it prompts you to extract its contents) and I got those 3 dlls from the \Bin\DirectX11-net40 folder. The version of those dlls is the latest 2.6.3 instead of 2.4.2.0

I also tried the dlls from Monogame: C:\Program Files (x86)\MonoGame\v3.0\Assemblies\Windows8. Those dlls (note that they are version 2.5.0) only gave me 2 errors instead of 3. It didn’t complain about Output1 class this time.

How am I supposed to get SharpDX.DXGI.dll 2.4.2.0 ? It is nowhere to be found on their website.

I was using the dlls from DirectX11-net40 folder.

Changing to the dlls of DirectX11_2-net40 folder gave me no compilation errors. However I do get a runtime exception error.

Additional information: HRESULT: [0x887A0004], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_UNSUPPORTED/Unsupported], Message: Unknown

In their forum someone says that it is a problem of graphics card drivers.

Hi,

What about Nuget?

You can search for previous versions. I did that 2 days ago, because I have problems with the audio, so you can certenly use the command-line installing option.

I am trying to get previous versions or the 3.0.0 version, as you suggest through nuget. All nuget installs for me is a lonely SharpDX.dll. I need 2 more dlls to run the example code (SharpDX.DXGI.dll and SharpDX.Direct3D11.dll). Where am I supposed to get those ? If I use that SharpDX.dll with the 2 dlls I already have it doesn’t compile.

Well, SharpDX.Toolkit.Input 2.6.3 contains these dlls.