To create a .NET class library from the command line, you can run a script
dotnet new classlib
Do this in a clean folder and create a file csprojthat can then be opened in Visual Studio 2017.
However run the script
dotnet new classlib -lang f
in a clean folder, and the fsproj file, which is subsequently created, cannot be opened in Visual Studio 2017. The error message reads
The imported project "C: \ Program Files (x86) \ Microsoft Visual Studio \ 2017 \ Professional \ MSBuild \ Sdks \ FSharp.NET.Sdk \ Sdk \ Sdk.props" could not be found. Verify that the path in the declaration is correct and that the file exists on disk.
I was looking for an explanation of this problem, and it seems that there is work that can fix it, but I wondered if there are any add-ons that I can install to start this work immediately.
source
share