F# program error
Options
When I try to compile f# program with
let dc = new TypedDataContext()
error occurs
FileNotFoundException: Could not load file or assembly 'file:///C:\Users\Dima\AppData\Local\Temp\LINQPad\TypedDataContext_jummie.dll' or one of its dependencies. The system cannot find the file specified.
But this file exists in C:\Users\Dima\AppData\Local\Temp\LINQPad\_tbdookea\ folder.
LinqPad latest version, Windows 8.
On my work machine under Windows 7 f# program is compiled without any error.
Also without reference to any database f# program works correctly without any issues.
Thanks in advance for any help.
Best regards,
Dzmitry
let dc = new TypedDataContext()
error occurs
FileNotFoundException: Could not load file or assembly 'file:///C:\Users\Dima\AppData\Local\Temp\LINQPad\TypedDataContext_jummie.dll' or one of its dependencies. The system cannot find the file specified.
But this file exists in C:\Users\Dima\AppData\Local\Temp\LINQPad\_tbdookea\ folder.
LinqPad latest version, Windows 8.
On my work machine under Windows 7 f# program is compiled without any error.
Also without reference to any database f# program works correctly without any issues.
Thanks in advance for any help.
Best regards,
Dzmitry
Comments
-
Thanks for reporting. I've identified the problem: the bug occurs when you enable the option in advanced preferences, "Allow LINQPad to access the internal types of other assemblies." Until the next release, you'll need to disable that option in order to use data contexts in F# queries.
-
Thanks for your reply. It's worked.