v11.2.2025.0101 新增消息总线IEventBus #447
Annotations
3 errors and 20 warnings
Test
Assets file 'D:\a\X\X\XUnitTest.Core\obj\project.assets.json' doesn't have a target for 'net462'. Ensure that restore has run and that you have included 'net462' in the TargetFrameworks for your project.
|
Test
Assets file 'D:\a\X\X\XUnitTest.Core\obj\project.assets.json' doesn't have a target for 'net6.0'. Ensure that restore has run and that you have included 'net6.0' in the TargetFrameworks for your project.
|
Test
Process completed with exit code 1.
|
Test:
XUnitTest.Core/Collections/CollectionHelperTests.cs#L37
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Test:
XUnitTest.Core/Collections/CollectionHelperTests.cs#L47
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
|
Test:
XUnitTest.Core/Log/TracerTests.cs#L404
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
|
Test:
XUnitTest.Core/Serialization/JsonWriterTests.cs#L170
'JsonWriter.IgnoreNullValues' is obsolete: '=>Options'
|
Test:
XUnitTest.Core/IO/ExcelReaderTests.cs#L40
Public method 'Test2' on test class 'ExcelReaderTests' should be marked as a Fact. Reduce the visibility of the method, or add a Fact attribute to the method. (https://xunit.net/xunit.analyzers/rules/xUnit1013)
|
Test:
XUnitTest.Core/Yun/OssClientTests.cs#L65
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Test:
XUnitTest.Core/Yun/OssClientTests.cs#L75
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Test:
XUnitTest.Core/Yun/OssClientTests.cs#L85
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Test:
XUnitTest.Core/Caching/MemoryQueueTests.cs#L14
Support for 'async void' unit tests is being removed from xUnit.net v3. To simplify upgrading, convert the test to 'async Task' instead. (https://xunit.net/xunit.analyzers/rules/xUnit1048)
|
Test:
XUnitTest.Core/Common/MachineInfoTests.cs#L39
Test methods should not use blocking task operations, as they can cause deadlocks. Use an async test method and await instead. (https://xunit.net/xunit.analyzers/rules/xUnit1031)
|
Build:
Test/Program.cs#L38
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:
Test/Program.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:
Test/Program.cs#L99
The field 'Program._client' is never used
|
Build:
Test/Program.cs#L38
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:
Test/Program.cs#L99
The field 'Program._client' is never used
|
Build:
Test/Program.cs#L38
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:
Test/Program.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:
Test/Program.cs#L99
The field 'Program._client' is never used
|
Build:
Samples/Zero.Desktop/FrmMain.cs#L30
The field 'FrmMain._lastConns' is never used
|
Build:
Test/Program.cs#L38
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.
|
Loading