Skip to content

升级项目,改用 dotnetCampus.LatestCSharpFeatures 提供的可空 #131

升级项目,改用 dotnetCampus.LatestCSharpFeatures 提供的可空

升级项目,改用 dotnetCampus.LatestCSharpFeatures 提供的可空 #131

Triggered via pull request January 2, 2025 01:52
Status Success
Total duration 3m 44s
Artifacts

dotnet-build.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

22 warnings
build (Debug)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (Debug): src/Utils/Walterlv.Logger/Core/AsyncOutputLogger.cs#L25
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 (Debug): src/Utils/Walterlv.Logger/IO/TextFileLogger.cs#L247
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 (Debug): src/Utils/Walterlv.Windows.Interop/Interop/WindowWrapper.cs#L215
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 (Debug): src/Utils/Walterlv.Windows.Interop/Interop/WindowWrapper.cs#L246
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 (Debug): src/Utils/Walterlv.Windows.Interop/Interop/WindowWrapper.cs#L267
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 (Debug): samples/Walterlv.Windows.Sample/MainWindow.xaml.cs#L30
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 (Debug): samples/Walterlv.Windows.Sample/MainWindow.xaml.cs#L30
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 (Release)
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build (Release): src/Utils/Walterlv.Logger/Core/AsyncOutputLogger.cs#L25
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 (Release): src/Utils/Walterlv.Logger/IO/TextFileLogger.cs#L247
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 (Release): src/Utils/Walterlv.Windows.Interop/Interop/WindowWrapper.cs#L215
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 (Release): src/Utils/Walterlv.Windows.Interop/Interop/WindowWrapper.cs#L246
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 (Release): src/Utils/Walterlv.Windows.Interop/Interop/WindowWrapper.cs#L267
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 (Release): samples/Walterlv.Windows.Sample/MainWindow.xaml.cs#L30
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 (Release): samples/Walterlv.Windows.Sample/MainWindow.xaml.cs#L30
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.