roslynator
roslynator copied to clipboard
error NU1202: Package Roslynator.DotNet.Cli 0.9.0 is not compatible with net6.0 (.NETCoreApp,Version=v6.0)
Hi , last two weeks I run Roslynator cli 0.8.9 and it worked fine. However , its failed when I try to run it today. I tried to upgrade to roslynator cli version 0.9.0 but still received the same error.
the error message : exit status 1: The tool package could not be restored. Tool 'roslynator.dotnet.cli' 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.
- You mistyped the name of the tool.
For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool /tmp/8e133bb3-0e02-49ba-99a5-dcb78425ae0c/restore.csproj : error NU1202: Package Roslynator.DotNet.Cli 0.9.0 is not compatible with net6.0 (.NETCoreApp,Version=v6.0) / any. Package Roslynator.DotNet.Cli 0.9.0 supports: /tmp/8e133bb3-0e02-49ba-99a5-dcb78425ae0c/restore.csproj : error NU1202: - net7.0 (.NETCoreApp,Version=v7.0) / any /tmp/8e133bb3-0e02-49ba-99a5-dcb78425ae0c/restore.csproj : error NU1202: - net8.0 (.NETCoreApp,Version=v8.0) / any
FYI , I run in Github,