A minimal F# SDK for the Microsandbox project.
dotnet add package Microsandbox.FSharpOr via the NuGet Package Manager:
Install-Package Microsandbox.FSharpopen Microsandbox
// Print a greeting
let message = Greeter.greet "World"
printfn "%s" message# Clone the repository
git clone https://github.com/yourusername/monocore.git
cd monocore/sdk/fsharp
# Restore dependencies
dotnet restoredotnet testdotnet build --configuration Release-
Create an API key on NuGet
-
Create a NuGet package:
dotnet pack --configuration Release- Publish to NuGet:
dotnet nuget push bin/Release/Microsandbox.FSharp.0.0.1.nupkg --api-key YOUR_API_KEY --source https://api.nuget.org/v3/index.jsonMake sure you have registered for an account on NuGet.org and have created an API key.