Template for a good new topic, formatted with Markdown:
-
ALM used (GitHub, Bitbucket Cloud, Azure DevOps)
GitHub -
CI system used (Bitbucket Cloud, Azure DevOps, Travis CI, Circle CI
GitHub Actions (Suggested by Sonar Cloud Configuration) -
Scanner command used when applicable (private details masked)
N/A -
Languages of the repository
Programming: CSharp
User: English -
Only if the SonarCloud project is public, the URL
I’m not sure if it’s available yet as configuration is incomplete: https://sonarcloud.io/organizations/deadmann/projects- And if you need help with pull request decoration, then the URL to the PR too
No PR, but here’s after merge: Rename .github/build.yml to .github/workflows/build.yml · deadmann/AdvancedRestHandler@a4ace39 · GitHub
- And if you need help with pull request decoration, then the URL to the PR too
-
Error observed (wrap logs/code around with triple quotes ``` for proper formatting)
>>Install Solar Cloud Scanner
Run New-Item -Path .\.sonar\scanner -ItemType Directory
Directory: D:\a\AdvancedRestHandler\AdvancedRestHandler\.sonar
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 1/10/2022 4:13 PM scanner
Welcome to .NET 5.0!
---------------------
SDK Version: 5.0.404
Telemetry
---------
The .NET tools collect usage data in order to help us improve your experience. It is collected by Microsoft and shared with the community. You can opt-out of telemetry by setting the DOTNET_CLI_TELEMETRY_OPTOUT environment variable to '1' or 'true' using your favorite shell.
Read more about .NET CLI Tools telemetry: https://aka.ms/dotnet-cli-telemetry
----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate run 'dotnet dev-certs https --trust' (Windows and macOS only).
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
C:\Program Files\dotnet\sdk\5.0.404\NuGet.targets(131,5): warning : Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured. [C:\Users\runneradmin\AppData\Local\Temp\4n22mtwo.mjm\restore.csproj]
C:\Program Files\dotnet\sdk\5.0.404\NuGet.targets(131,5): warning : Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured. [C:\Users\runneradmin\AppData\Local\Temp\4n22mtwo.mjm\restore.csproj]
C:\Program Files\dotnet\sdk\5.0.404\NuGet.targets(131,5): warning : Your request could not be authenticated by the GitHub Packages service. Please ensure your access token is valid and has the appropriate scopes configured. [C:\Users\runneradmin\AppData\Local\Temp\4n22mtwo.mjm\restore.csproj]
C:\Program Files\dotnet\sdk\5.0.404\NuGet.targets(131,5): error : Failed to retrieve information about 'dotnet-sonarscanner' from remote source 'https://nuget.pkg.github.com/deadmann/download/dotnet-sonarscanner/index.json'. [C:\Users\runneradmin\AppData\Local\Temp\4n22mtwo.mjm\restore.csproj]
C:\Program Files\dotnet\sdk\5.0.404\NuGet.targets(131,5): error : Response status code does not indicate success: 401 (Unauthorized). [C:\Users\runneradmin\AppData\Local\Temp\4n22mtwo.mjm\restore.csproj]
Tool 'dotnet-sonarscanner' failed to update due to the following:
The tool package could not be restored.
Tool 'dotnet-sonarscanner' 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
Error: Process completed with exit code 1.
-
Steps to reproduce
Just trying to install Solar Cloud as it explined on my project, just fork and retry
Note: Although I still don’t provide any test, I provide test project for.net X
,.Net Core X
and.NetFramework X
, as they may act differently -
Potential workaround
Found nothing