Skip to content

修复分析器异常 #766

修复分析器异常

修复分析器异常 #766

Triggered via push November 12, 2025 08:16
Status Success
Total duration 4m 20s
Artifacts

dotnet-core.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

14 warnings
build
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "DotNetCampus.CodeAnalysisUtils
build
A stable release of a package should not have a prerelease dependency. Either modify the version spec of dependency "DotNetCampus.CommandLine
build: src/dotnetCampus.Ipc/Context/IpcResponse.cs#L20
Cannot convert null literal to non-nullable reference type.
build: tests/dotnetCampus.Ipc.Analyzers.Tests/Verifiers/CSharpCodeFixVerifier`2+Test.cs#L17
Dereference of a possibly null reference.
build: src/dotnetCampus.Ipc/Context/IpcResponse.cs#L17
Cannot convert null literal to non-nullable reference type.
build: src/dotnetCampus.Ipc/Context/IpcResponse.cs#L17
Cannot convert null literal to non-nullable reference type.
build
The type 'DynamicallyAccessedMemberTypes' in 'D:\a\dotnetCampus.Ipc\dotnetCampus.Ipc\artifacts\obj\dotnetCampus.Ipc.Analyzers.Tests\release\DotNetCampus.LatestCSharpFeatures.Analyzer\DotNetCampus.LatestCSharpFeatures.Generators.FeatureGenerator\DynamicallyAccessed.g.cs' conflicts with the imported type 'DynamicallyAccessedMemberTypes' in 'dotnetCampus.Ipc.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'D:\a\dotnetCampus.Ipc\dotnetCampus.Ipc\artifacts\obj\dotnetCampus.Ipc.Analyzers.Tests\release\DotNetCampus.LatestCSharpFeatures.Analyzer\DotNetCampus.LatestCSharpFeatures.Generators.FeatureGenerator\DynamicallyAccessed.g.cs'.
build
The type 'DynamicallyAccessedMemberTypes' in 'D:\a\dotnetCampus.Ipc\dotnetCampus.Ipc\artifacts\obj\dotnetCampus.Ipc.Analyzers.Tests\release\DotNetCampus.LatestCSharpFeatures.Analyzer\DotNetCampus.LatestCSharpFeatures.Generators.FeatureGenerator\DynamicallyAccessed.g.cs' conflicts with the imported type 'DynamicallyAccessedMemberTypes' in 'dotnetCampus.Ipc.Analyzers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Using the type defined in 'D:\a\dotnetCampus.Ipc\dotnetCampus.Ipc\artifacts\obj\dotnetCampus.Ipc.Analyzers.Tests\release\DotNetCampus.LatestCSharpFeatures.Analyzer\DotNetCampus.LatestCSharpFeatures.Generators.FeatureGenerator\DynamicallyAccessed.g.cs'.
build: src/dotnetCampus.Ipc.Analyzers/CodeFixes/AddIpcShapeCodeFixProvider.cs#L66
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
It is no longer necessary to use the Microsoft.NET.Sdk.WindowsDesktop SDK. Consider changing the Sdk attribute of the root Project element to 'Microsoft.NET.Sdk'.
build
.NET 6.0 is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.
build
.NET Core 3.1 is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.