Fixing System.IO.IOException: The process cannot access the file '...… #6
Annotations
12 warnings and 2 notices
|
Build for linux-x64:
ByteMeBackup/Core/BackupTask.cs#L15
Field 'BackupTask.FileHelper' is never assigned to, and will always have its default value null
|
|
Build for linux-x64:
ByteMeBackup/Helper/FileHelper.cs#L7
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
|
Build for linux-x64:
ByteMeBackup/Helper/FileHelper.cs#L35
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
|
Build for linux-x64:
ByteMeBackup/Core/BackupTask.cs#L17
Non-nullable field 'FileHelper' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
Build for linux-x64:
ByteMeBackup/Startup.cs#L11
The entry point of the program is global code; ignoring 'Startup.Main()' entry point.
|
|
Build for linux-x64
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 for osx-x64:
ByteMeBackup/Core/BackupTask.cs#L15
Field 'BackupTask.FileHelper' is never assigned to, and will always have its default value null
|
|
Build for osx-x64:
ByteMeBackup/Helper/FileHelper.cs#L7
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
|
Build for osx-x64:
ByteMeBackup/Helper/FileHelper.cs#L35
Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
|
|
Build for osx-x64:
ByteMeBackup/Core/BackupTask.cs#L17
Non-nullable field 'FileHelper' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
|
|
Build for osx-x64:
ByteMeBackup/Startup.cs#L11
The entry point of the program is global code; ignoring 'Startup.Main()' entry point.
|
|
Build for osx-x64
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 for osx-x64
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
|
Build for osx-x64
The macos-latest label will migrate to macOS 15 beginning August 4, 2025. For more information see https://github.com/actions/runner-images/issues/12520
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
backup-linux-x64
Expired
|
40 MB |
sha256:5b32bed503d5f7d0fd12f4a0a1189dfff84d3d401d9db131025dc0695dcbfee3
|
|
|
backup-osx-x64
Expired
|
40.5 MB |
sha256:e5392c084d95dd68bafb53495850c3a562f1b5ab01bdd662719906efcefce922
|
|