Open tgjones opened 3 years ago
Hi ,Sorry for the long delay. Somehow totally missed this. I will try to fix this, but for some reason it works for me
The reason it doesn't work is that I only target .NET 5
I just added support for netstandard2.0, can you try now?
This is awesome - thank you so much for creating this library!
As far as I can tell, it's not loading the native library correctly though. When I run SPIRVCross.Test, I get this exception:
I think this is because SPIRVCross.csproj needs to include some extra stuff to copy the native dlls to the output folder. For example, Vortice.Dxc includes a .targets file in the csproj:
https://github.com/amerkoleci/Vortice.Windows/blob/7481411e43659c6e4d25c52b705a7eadcee2cfc2/src/Vortice.Dxc/Vortice.Dxc.csproj#L28-L31
And that .targets file looks like this:
https://github.com/amerkoleci/Vortice.Windows/blob/7481411e43659c6e4d25c52b705a7eadcee2cfc2/src/Vortice.Dxc/build/netstandard2.0/Vortice.Dxc.targets#L6-L12
... unless I'm missing something, and it's working for you without doing that?