Skip to content

Commit 58a44a8

Browse files
author
Maxime Mangel
committed
Add a note mentioning current .NET 7 trouble with Fable 3
1 parent 3d4f6bf commit 58a44a8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/docs/2-steps/setup.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,24 @@ layout: standard
77

88
In order to use Fable you will need the following tools:
99

10+
:::warning
11+
Fable 3, currently has trouble with .NET 7.
12+
13+
If you have .NET 7 installed on your system, you will need to add a `global.json` file to your project to ensure .NET 6 is used.
14+
15+
*Example:*
16+
17+
`{
18+
"sdk": {
19+
"version": "6.0.0",
20+
"rollForward": "latestMinor"
21+
}
22+
}
23+
`
24+
25+
You can also give a try to [Fable 4](https://fable.io/blog/2022/2022-09-28-fable-4-theta.html), as it already has .NET 7 support.
26+
:::
27+
1028
- [.NET Core SDK](https://dotnet.microsoft.com/) to work with F# files and dependencies
1129
- [Node.js](https://nodejs.org/) to execute JS code
1230
- A JS package manager, like [npm](https://www.npmjs.com/) (which comes with Node) or [yarn](https://yarnpkg.com/)

0 commit comments

Comments
 (0)