Guest Antoine Besnard Posted October 21, 2021 Posted October 21, 2021 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... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.