编译Alea GPU教程时出错:在Visual Studio 2015社区更新2中使用FSharp.Core版本4.4.0.0在.Net 4.5运行时编译https://github.com/quantalea/AleaGPUTutorial.
Fody:发生了未处理的异常:异常: 无法加载文件或程序集'FSharp.Core,Version = 4.3.1.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a'或其依赖项之一.该系统找不到指定的文件.
堆栈跟踪:
at Alea.CUDA.AOTCompileLogger..ctor(List`1 logs, Int32 warningCount, Int32 errorCount)
at Alea.CUDA.AOTCompileLogger..ctor()
at Alea.CUDA.AOTCompiler..ctor()
at Alea.CUDA.Fody.ModuleWeaver.Execute()
at lambda_method(Closure , Object )
at InnerWeaver.ExecuteWeavers() in c:\Code\Fody\FodyIsolated\InnerWeaver.cs:line 164
at InnerWeaver.Execute() in c:\Code\Fody\FodyIsolated\InnerWeaver.cs:line 82
Source:
Alea.CUDA
TargetSite:
Void .ctor(System.Collections.Generic.List`1[Alea.CUDA.AOTCompileLogEntry], Int32, Int32)
Run Code Online (Sandbox Code Playgroud)
它发生在Tutorial.Cs和Tutorial.Fs项目中,无论我如何bindingRedirect在所有可能的.config文件中设置选项.看起来这些重定向被Fody引用加载机制忽略了.
但是,即使将教程解决方案设置为FSharp.Core 4.3.1.0也不允许我编译它.错误是一样的.
你对如何解决它有任何想法吗?