Skip to content

fix: fix publish one file #112

fix: fix publish one file

fix: fix publish one file #112

Triggered via push November 19, 2024 10:59
Status Failure
Total duration 58s
Artifacts

dotnetcore.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 10 warnings
build
Assets file '/home/runner/work/PluralsightDownload/PluralsightDownload/Pluralsight_Download/obj/project.assets.json' doesn't have a target for 'net8.0/linux-x64'. Ensure that restore has run and that you have included 'net8.0' in the TargetFrameworks for your project. You may also need to include 'linux-x64' in your project's RuntimeIdentifiers.
build
Process completed with exit code 1.
build
The "--output" option isn't supported when building a solution. Specifying a solution-level output path results in all projects copying outputs to the same directory, which can lead to inconsistent builds.
build: THttpWebRequest/Web/TWebRequest.cs#L163
'WebRequest.Create(Uri)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build: THttpWebRequest/Helper/RandomHelper.cs#L10
Make sure that using this pseudorandom number generator is safe here. (https://rules.sonarsource.com/csharp/RSPEC-2245)
build: THttpWebRequest/Helper/RandomHelper.cs#L12
All 'GetRandomStringFrom' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
build: THttpWebRequest/Utility/ProgressBar.cs#L7
Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881)
build: THttpWebRequest/Helper/StringHelper.cs#L18
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
build: THttpWebRequest/Utility/ProgressBar.cs#L42
Replace this lock on 'Timer' with a lock against an object that cannot be accessed across application domain boundaries. (https://rules.sonarsource.com/csharp/RSPEC-3998)
build: THttpWebRequest/Web/TWebRequest.cs#L118
Remove the unnecessary Boolean literal(s). (https://rules.sonarsource.com/csharp/RSPEC-1125)
build: THttpWebRequest/Web/TWebRequest.cs#L120
Merge this if statement with the enclosing one. (https://rules.sonarsource.com/csharp/RSPEC-1066)
build: THttpWebRequest/Utility/ProgressBar.cs#L94
Replace this lock on 'Timer' with a lock against an object that cannot be accessed across application domain boundaries. (https://rules.sonarsource.com/csharp/RSPEC-3998)