3 ms·
I used xbuild, but from Mono, not .NET Core (maybe .NET Core has it too). It builds standard Visual Studio 'msbuild' files (.sln, .csproj, .fsproj). It works ok
by ungzd 10y ago
I used xbuild, but from Mono, not .NET Core (maybe .NET Core has it too). It builds standard Visual Studio 'msbuild' files (.sln, .csproj, .fsproj). It works okay and these XML files are editable by hand but still somewhat creepy. I tried only F# so I used .fsproj build files and was able to do everything even without Visual Studio Code (in Emacs).
There's also tools called Paket and Fake which look like .NET counterparts of Ruby's Bundler and Rake, created by F# community. Paket patches .fsproj/.csproj files and it looks like hack but still better than putting absolute paths to preinstalled dependencies.
For creating new projects from template, Yeoman (installable from npm) is quite popular.
Build process in .NET looks like is in transitional state from Visual Studio-first to build tools-first and is still painful and confusing. I didn't try project.json / dotnet tooling yet, because F# website doesn't mention it. I tried only F# and Monogame.
- enricosada 10y agofor f# on .net core (preview2), see https://github.com/dotnet/netcorecli-fsc/wiki/.NET-Core-SDK-preview2 https://github.com/dotnet/netcorecli-fsc/wiki/.NET-Core-SDK-... you'll see the experience about cli and sdk. All docs about .net core sdk works. - `dotnet new -l fsharp` - `dotnet run` or - `dotnet new -l fsharp -t lib` - `dotnet build` - `dotnet pack` for nuget packages Ide works in vs code works with Ionide plugin, if you open it after first `dotnet build`
- enricosada 10y agoGood blog post as intro "F# Suave app on dotnet core on Kubernetes on Google Cloud" That's f# and .NET Core console app (who host suave web), published in a docker container and run on k8 on google cloud http://blog.2mas.xyz/fsharp-suave-app-on-dotnet-core-on-kubernetes-on-google-cloud/ http://blog.2mas.xyz/fsharp-suave-app-on-dotnet-core-on-kube...