-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error loading Vortice.Dxc libs (wrong .dll install path) #13
Comments
I'll take a look, the executable assembly is netcoreapp or ne framework executable? |
Hey, thank you for the quick reply! I believe @aAminator is using his code from both a .NET Core 3.0 sample project and a UWP app, with the same issue once he tried moving to Thanks again for your help! 😄 |
Should be fixed now, try the "1.0.0-gea9e6e7273" version and report if it works. Thanks |
Compiling works now, but it fails when trying to create a pipeline state. Manually putting |
Not sure how can I workaround that issue @Aminator |
@Aminator wait, why is UWP working though? @amerkoleci Isn't there a way to make the NuGet package copy that .dll directly to the output folder and not to a subdirectory of it? |
@Sergio0694 Because UWP doesn't copy them to the |
Can't that be done always, regardless of target framework? |
I think yes, not sure why it doesn't work tho, probably need build/netstandard2.0/Vortice.Dxc.targets |
Yeah that sounds like a good idea! |
Hey @amerkoleci - I tried upgrading to the latest CI build and it works! 🎉 Just one last small detail: after updating the Vortice.Dxc package I now see the Bonus question: I'd like to publish my ComputeSharp lib to NuGet but I'm not sure how to handle the MyGet package source in the package, that is, if there's some option I need to set in my Again, props for the great work, this lib is already looking great so far! 🍻 |
HI @Sergio0694, I will release 1.0.0 official nuget packages today, stay updated :) |
Nuget packages has been published and on nuget now, please take look at: https://www.nuget.org/packages?q=Tags%3A%22vortice%22 |
Hi, me and @Aminator are currently moving from
DotNetDxc
toVortice.Dxc
, and we noticed that the latter copies the twodxcompiler.dll
anddxil.dll
files to the wrong directory. Currently, those .dlls are placed under theruntimes\win-x[64|86]\native
path, but that causes a runtime exception, as the caller of those .dlls is only looking for them next to the entry point of the app.Right now I'm getting this error:
![image](https://user-images.githubusercontent.com/10199417/63722002-a7d2e300-c852-11e9-9fbd-d9b1bb75204f.png)
As a test, manually copying the two .dlls to the output folder solves the issue.
Would it be possible to setup the NuGet package so that instead of placing those .dlls into the
runtime
tree, it would just copy the correct ones (depending on the CPU architecture) right to the output folder, next to all the other .dll files?Thanks! 😄
The text was updated successfully, but these errors were encountered: