Is there any F# ProjectScaffold workflows on linux?

62 views
Skip to first unread message

He-chien Tsai

unread,
Feb 27, 2015, 2:16:55 PM2/27/15
to fsharp-o...@googlegroups.com
I struggled a lot but I can't get it works.
I get several kinds of errors when I just want to open some module from dependencies.

I add one line 'open Deedle' in Library.fs, errors are belows:
  1) Building /home/t3485/FsProject/FsProject1.sln failed with exitcode 1.
  2) FS0074: /home/t3485/FsProject/src/FsProject1/Library.fs(10,6): The type referenced through 'System.Data.DataTable' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data'.

And when I change that line 'open Deedle' into 'open Akka' in Library.fs, error messages changed:
  1) Building /home/t3485/FsProject/FsProject1.sln failed with exitcode 1.
  2) FS0039: /home/t3485/FsProject/src/FsProject1/Library.fs(10,6): The namespace or module 'Akka' is not defined

I also observed some strange files generated in src:
[t3485@localhost FsProject]$ ls src/FsProject1/
AssemblyInfo.fs  FsProject1.fsproj  paket.references  WorldBankSchema
DesignTimeURIs   Library.fs         paket.template
FreebaseSchema   obj                Script.fsx
It looks like that some dependencies mess up the source such as WorldBankSchema, FreebaseSchema and DesignTimeURIs. It also build binary files in obj.

I almost give up.
Reply all
Reply to author
Forward
0 new messages