F# sample project can't build

  • Thread starter Thread starter Antoine Besnard
  • Start date Start date
A

Antoine Besnard

Guest
Hi,

I'm having a strange behaviour with all my F# files

They're all creating C# errors

So I've just recreated a new F# project and here's what it look like

namespace Test

module Say =
let hello name =
printfn "Hello %s" name

And errors are :


{ expected
; expected
A namespace cannot directly contain members such as fields or methods

Regarding to those errors it seems that Visual is trying to build F# with C# compiler.

But the F# tools are installed :

F# desktop language support

F# language support

F# language spport for web projects


I don't really know what's wrong, bescause I already make it work on this computer
I also Repaired Visual

Does anybody know what wrong ?

Thanks for reading

PS:
I also reinstalled Visual but it didn't changed anything
And the code is running on my coworkers computers

Continue reading...
 
Back
Top