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

DML: dll copying from /build/net461/Vortice.DirectML.props not working. #317

Closed Axiverse closed 2 years ago

Axiverse commented 2 years ago

I've copied the folder and props structure from DirectStorage, however I'm not seeing the right dlls being loaded with the props in ~/.nuget\packages\vortice.directml\2.1.20-beta\build\net461. When the props are directly copied in the build folder (one level above, with copy target src paths respectively changed) the right dlls are loaded. Do you know if there's something I'm missing and can I be sure that DirectStorage is actually using the dlls included and not ones that come preloaded with windows (if that is even an options)?

I'm not sure how these props are picked up. Is it a magic folder that's just picked up by the compiler?

Axiverse commented 2 years ago

@amerkoleci any ideas here?

amerkoleci commented 2 years ago

@amerkoleci any ideas here?

Sorry, somehow I missed this one, I'll merge PR and let see what we can bring in the future to improve native library support.