Skip to content

net6.0-windows对WinFrom的依赖由6.0.2降为6.0.0,避免某些机器只有net6.0.0/net6.0.1运行时,无… #175

net6.0-windows对WinFrom的依赖由6.0.2降为6.0.0,避免某些机器只有net6.0.0/net6.0.1运行时,无…

net6.0-windows对WinFrom的依赖由6.0.2降为6.0.0,避免某些机器只有net6.0.0/net6.0.1运行时,无… #175

Triggered via push July 26, 2023 07:22
Status Success
Total duration 4m 43s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

20 warnings
test: Test/Program.cs#L32
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.
test: Test/Program.cs#L326
'SslProtocols.Tls' is obsolete: 'TLS versions 1.0 and 1.1 have known vulnerabilities and are not recommended. Use a newer TLS version instead, or use SslProtocols.None to defer to OS defaults.'
test: Test/Program.cs#L342
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.
test: XUnitTest.Core/Log/TracerTests.cs#L401
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.'
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.
test: XUnitTest.Core/Data/PacketTests.cs#L178
The literal or constant value (byte)0x11 should be passed as the 'expected' argument in the call to 'Assert.Equal(expected, actual)' in method 'AfterAppendSetTest' on type 'PacketTests'. Swap the parameter values.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L40
This call site is reachable on all platforms. 'ECDsaCng' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L78
This call site is reachable on all platforms. 'ECDsaCng' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L54
This call site is reachable on all platforms. 'ECDsaCng' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L39
This call site is reachable on all platforms. 'CngKey.Import(byte[], CngKeyBlobFormat)' is only supported on: 'windows'.
test: Test/Program.cs#L32
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.
test: Test/Program.cs#L326
'SslProtocols.Tls' is obsolete: 'TLS versions 1.0 and 1.1 have known vulnerabilities and are not recommended. Use a newer TLS version instead, or use SslProtocols.None to defer to OS defaults.'
test: Test/Program.cs#L342
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.
test: XUnitTest.Core/Log/TracerTests.cs#L401
'WebRequest.CreateHttp(string)' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.'
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.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L63
This call site is reachable on all platforms. 'CngKey.Import(byte[], CngKeyBlobFormat)' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L64
This call site is reachable on all platforms. 'ECDsaCng' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L54
This call site is reachable on all platforms. 'ECDsaCng' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L39
This call site is reachable on all platforms. 'CngKey.Import(byte[], CngKeyBlobFormat)' is only supported on: 'windows'.
test: XUnitTest.Core/Security/ECDsaHelperTests.cs#L40
This call site is reachable on all platforms. 'ECDsaCng' is only supported on: 'windows'.