Open kedare opened 3 years ago
Hmm, my guess is that you just need the 3.1 sdk. You can set it to local with:
asdf local dotnet-core 3.1.404
or globally with:
asdf global dotnet-core 3.1.404
You can have have multiple sdk's using the local
feature of asdf.
I'm running into a similar issue trying to install FsAutoComplete for neovim LSP.
projects/fsharp/demo via .NET v5.0.400 π― netcoreapp3.1
β asdf local dotnet-core 3.1.412
projects/fsharp/demo via .NET v3.1.412 π― netcoreapp3.1
β dotnet tool install --global fsautocomplete
error NU1202: Package fsautocomplete 0.47.1 is not compatible with netcoreapp3.1 (.NETCoreApp,Version=v3
.1) / any. Package fsautocomplete 0.47.1 supports: net5.0 (.NETCoreApp,Version=v5.0) / any
The tool package could not be restored.
Tool 'fsautocomplete' failed to install. This failure may have been caused by:
* You are attempting to install a preview release and did not use the --version option to specify the ve
rsion.
* A package by this name was found, but it was not a .NET Core tool.
* The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
* You mistyped the name of the tool.
For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool
projects/fsharp/demo via .NET v3.1.412 π― netcoreapp3.1
β asdf local dotnet-core 5.0.400
projects/fsharp/demo via .NET v5.0.400 π― netcoreapp3.1
β dotnet tool install --global fsautocomplete
Tools directory '/home/jesse/.dotnet/tools' is not currently on the PATH environment variable.
If you are using bash, you can add it to your profile by running the following command:
cat << \EOF >> ~/.bash_profile
# Add .NET Core SDK tools
export PATH="$PATH:/home/jesse/.dotnet/tools"
EOF
You can add it to the current session by running the following command:
export PATH="$PATH:/home/jesse/.dotnet/tools"
You can invoke the tool using the following command: dotnet-fsautocomplete
Tool 'fsautocomplete' (version '0.47.1') was successfully installed.
I then run into fsprojects/fantomas#412
Should dotnet
and dotnet-core
be two different asdf plugins so we can have access to both?
Hello.
I was trying to compile identity server ( https://github.com/DuendeSoftware/IdentityServer ) but it requires both SDK 5.0 and 3.1.0 to be available, I installed them both with asdf and set 5.0 as the global one but I am getting the following error
A few info:
How can I fix that ?
Thanks