You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/your-fable-project/author-a-fable-library.md
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,20 @@ To write a library that can be used in Fable you need to fulfill a few condition
11
11
- Keep a simple `.fsproj` file: don't use MSBuild conditions or similar.
12
12
- Include the source files in the Nuget package in a folder named `fable`.
13
13
14
-
The last point may sound complicated but it's only a matter of adding a couple of lines to your project file and let the `dotnet pack` command do all the rest.
14
+
:::info
15
+
If your library is a pure binding, you can skip this step.
15
16
16
-
```xml
17
-
<!-- Add source files to "fable" folder in Nuget package -->
In order to publish the package to Nuget check [the Microsoft documentation](https://docs.microsoft.com/en-us/nuget/quickstart/create-and-publish-a-package-using-the-dotnet-cli) or alternatively you can also [use Fake](https://fake.build/dotnet-nuget.html#Creating-NuGet-packages).
0 commit comments