To Reproduce
Steps to reproduce the behavior:
run below command on cli in linux
dotnet tool install -g mlnet-linux-x64
Expected behavior
~$ dotnet tool install -g mlnet-linux-x64
/tmp/77a101f6-eed5-4f71-b45e-6a8329d761c0/restore.csproj : error NU1202: Package mlnet-linux-x64 16.18.2 is not compatible with net6.0 (.NETCoreApp,Version=v6.0) / any. Package mlnet-linux-x64 16.18.2 supports: net8.0 (.NETCoreApp,Version=v8.0) / any
The tool package could not be restored.
Tool 'mlnet-linux-x64' 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 version.
A package by this name was found, but it was not a .NET tool.
The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
System Information:
Describe the bug
To Reproduce Steps to reproduce the behavior: run below command on cli in linux dotnet tool install -g mlnet-linux-x64
Expected behavior ~$ dotnet tool install -g mlnet-linux-x64 /tmp/77a101f6-eed5-4f71-b45e-6a8329d761c0/restore.csproj : error NU1202: Package mlnet-linux-x64 16.18.2 is not compatible with net6.0 (.NETCoreApp,Version=v6.0) / any. Package mlnet-linux-x64 16.18.2 supports: net8.0 (.NETCoreApp,Version=v8.0) / any The tool package could not be restored. Tool 'mlnet-linux-x64' failed to install. This failure may have been caused by:
For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool