-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
Normally I wouldn't file my own stupidity as an issue.
But since this is the on-ramp tutorial, I will this time.
I followed the tutorial and slipped up (twice)
What I broke was adding the reference from the app fsproj file to the library. (I went to get a cup of tea and skipped the line in the tutorial)
The fix was to add this to App.fsproj
< ItemGroup >
<ProjectReference Include="..\Library\Library.fsproj" />
</ItemGroup>
My mistake was clear from the error message
(error FS0039: The namespace or module 'Library' is not defined.).
But a link to the fsproj files might help people like me who cant follow instructions.
Now I dont know if it is worth cluttering up the tutorial. However, learning the fsproj format is the less glamourous part of learning FSharp the language, and I often trip up on building and linking when learning something new, (and frequently in stuff I should know too).
My second slip was not saving from the editor. (Cant fix stupid, but I realized when I saw "Hello from F#").
(This can be closed, just my two cents on including the App.fsproj in the tutorial somehow)
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 836d726d-1f95-51e7-c5c3-a7200adc5772
- Version Independent ID: 3e9e6e89-7017-7a7c-faea-4c0e76cef442
- Content: Get started with F# with command-line tools
- Content Source: docs/fsharp/get-started/get-started-command-line.md
- Product: dotnet-fsharp
- GitHub Login: @cartermp
- Microsoft Alias: dotnetcontent
Metadata
Metadata
Assignees
Labels
Type
Projects
Status