Hi, my name’s Aaron Powell and I’m a Cloud Advocate at Microsoft. My area of specialty is front-end web dev and .NET (especially F#), but I enjoy doing silly things with technology.
Hi, my name’s Aaron Powell and I’m a Cloud Advocate at Microsoft. My area of specialty is front-end web dev and .NET (especially F#), but I enjoy doing silly things with technology.
Ah yes, you need to explicitly include all F# files in the fsproj and you need to include them in the order you want them loaded by the compiler (since a file can only access what's been loaded prior to it).
Did you include a reference to
FSharp.Core
in thefsproj
file?Does it output an error messages when you try and restore? Can you share the output of
dotnet restore
?Yes. dotnet restore says it succeeds. I’ll give it a look tomorrow.
While watching this video youtube.com/watch?v=SSBc5ucHq2E, I noticed that I forgot to include
in my
.fsproj
file.Ah yes, you need to explicitly include all F# files in the
fsproj
and you need to include them in the order you want them loaded by the compiler (since a file can only access what's been loaded prior to it).It’s funny because I knew that, but I guess I’ve never translated a
csproj
to anfsproj
by hand, so it’s never come up. Thanks!