Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
Manually editing the .fsproj file followed by dotnet build worked because some dotnet commands have an implicit restore. I think this is the fastest way to add a dependency when you know its versio...
Answer
#1: Initial revision
Manually editing the `.fsproj` file followed by `dotnet build` worked because some `dotnet` commands have [an implicit restore](https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-build#implicit-restore). I think this is the fastest way to add a dependency when you know its version. I have always used NuGet through its Visual Studio package manager, but I guess this is just a fancy UI over the CLI. NuGet allows you to perform more advanced operations such: - list all package versions - you can indicate the package to install and get the latest version - you can get the package dependencies. Since you have specified Mac (macOS) and [Visual Studio for Mac is retiring anyway](https://learn.microsoft.com/en-us/visualstudio/mac/what-happened-to-vs-for-mac?view=vsmac-2022), VS Code seems to provide [a decent way to work with Nuget packages](https://github.com/jmrog/vscode-nuget-package-manager).