This project is read-only.

Assembly resolver

Sep 22, 2013 at 5:28 AM
Is there a way to access the AssemblyResolve within cudafy?

I don't want to put all my dlls in the GAC (Cudafy.NET.dll I have done so).

Previously I've edited the Mono code within Cudafy to add this method:
Mono.Cecil.GlobalAssemblyResolver.Instance.AddSearchDirectory("aSearchDir");
but I'm hoping that is not necessary.
Sep 22, 2013 at 9:44 AM
No, I've never come across a scenario where it it necessary. What are you trying to do?
Sep 22, 2013 at 9:36 PM
I'm cudafying C# code that has been created at runtime using CompileAssemblyFromSource. I assume that must be the cause of the confused dependencies.

I have it working now using Directory.SetCurrentDirectory. CudafyTranslator.WorkingDirectory did not seem to rectify this problem.