This project is read-only.

CudafyTranslator.Cudafy error

Sep 20, 2013 at 7:42 AM
I get a "Failed to resolve assembly: 'Cudafy.NET" when I call this.

previously I downloaded the source code for CudafyCL.exe and changed the assemblyResolve method to rectify, but that seems like overkill.

Is there a simple method / changes?
I've tried changing the CudafyTranslator.WorkingDirectory to no avail.

Alternatively could we expose the assemblyResolve methods through CudafyTranslator?
Sep 20, 2013 at 11:44 PM
upgrading to v1.26 fixed this.

If I see this again in the future will try either adding a current domain assembly resolve through AppDomain.CurrentDomain.AssemblyResolve, or adding it to the GAC.
Sep 21, 2013 at 5:41 AM
I've had this error again.
Adding an AssemblyResolve event didn't work, it wasn't called. I don't know why.
Adding the dll to the GAC works.
Sep 21, 2013 at 10:05 AM
Are you writing a service by any chance?
Sep 22, 2013 at 11:18 PM
no, I'm cudafying C# code that has been created at runtime using CompileAssemblyFromSource.