amerkoleci / Vortice.Windows

.NET bindings for Direct3D12, Direct3D11, WIC, Direct2D1, XInput, XAudio, X3DAudio, DXC, Direct3D9 and DirectInput.
MIT License
1.01k stars 73 forks source link

NuGet Installation Issue #380

Closed Exergist closed 1 year ago

Exergist commented 1 year ago

I receive the following error when trying to install Vortice.Direct3D11 v2.2.0 via Visual Studio NuGet package manager:

Unable to find a version of 'SharpGen.Runtime' that is compatible with: 'Vortice.Direct3D11 2.2.0 constraint: SharpGen.Runtime (>= 2.0.0-beta.11)', 'Vortice.DirectX 2.2.0 constraint: SharpGen.Runtime (>= 2.0.0-beta.11)', 'Vortice.DXGI 2.2.0 constraint: SharpGen.Runtime (>= 2.0.0-beta.11)'

Any suggestions for how this might be remedied? Thank you!

Exergist commented 1 year ago

AH nevermind. I just needed to install the required SharpGen bits via NuGet's include prerelease option in Visual Studio, and THEN the rest of the installation worked fine.