CompileAssemblyFromFile
问题 Why I get the error when trying to do this function: let compile_file path use_asms output = use pro = new FSharpCodeProvider() let opt = CompilerParameters(use_asms, output) let res = pro.CompileAssemblyFromFile(opt, path) // <-- Error if res.Errors.Count = 0 then Some(FileInfo(res.PathToAssembly)) else None Error-code: -2147467259 Error: cant find the file specified Now I'm trying two broken implementations: type System.CodeDom.Compiler.ICodeCompiler with member this.CompileAssemblyFromFile