# create a solution
dotnet new sln
dotnet new console -lang f# -o src/Kraken
dotnet remove src/Kraken/Kraken.fsproj package Microsoft.FSharp.Core.netcore
dotnet add src/Kraken/Kraken.fsproj package FSharp.Core
dotnet add src/Kraken/Kraken.fsproj package MongoDB.Driver.GridFS
dotnet new console -lang f# -o src/Kraken.Test
dotnet remove src/Kraken/Kraken.Test.fsproj package Microsoft.FSharp.Core.netcore
dotnet add src/Kraken/Kraken.Test.fsproj package FSharp.Core
dotnet add src/Kraken/Kraken.Test.fsproj package MongoDB.Driver.GridFS
dotnet add src/Kraken/Kraken.Test.fsproj package Expecto
dotnet sln add src/**/*.fsproj
dotnet restore
dotnet build
dotnet run --project src/Kraken/Kraken.fsproj
dotnet run --project src/Kraken/Kraken.Test.fsproj
Created
February 16, 2017 14:10
-
-
Save vilinski/5463f94cb7f595ac8ce8b4a95ff6802d to your computer and use it in GitHub Desktop.
Steps to create a .NET core solution with console and Expecto test projects in F#
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment