Skip to content

fix: 修复 NETSDK1151 错误,允许 WinForms 引用 CLI exe 项目 #83

fix: 修复 NETSDK1151 错误,允许 WinForms 引用 CLI exe 项目

fix: 修复 NETSDK1151 错误,允许 WinForms 引用 CLI exe 项目 #83

Triggered via push May 28, 2026 02:17
Status Failure
Total duration 3m 49s
Artifacts 6

ci.yml

on: push
Lint and Format Check
1m 1s
Lint and Format Check
Build and Test
55s
Build and Test
Matrix: build-linux
Matrix: build-macos
Matrix: build-windows
CI Success
2s
CI Success
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 10 warnings, and 2 notices
Build Windows (x64)
Process completed with exit code 1.
Build Windows (x64)
Compression in a single file bundle is only supported when publishing a self-contained application.
Build Windows (x86)
The strategy configuration was canceled because "build-windows.x64" failed
Build Windows (x86)
The operation was canceled.
CI Success
Process completed with exit code 1.
Build and Test: src/ImeWlConverterCoreTest/HelperTest/CollectionHelperTest.cs#L56
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
Build and Test: src/ImeWlConverterCoreTest/NoPinyinWordOnlyTest.cs#L53
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 and Test: src/ImeWlConverterCoreTest/SougouPinyinScelTest.cs#L64
Do not use Assert.Equal() to check for boolean conditions. Use Assert.False instead. (https://xunit.net/xunit.analyzers/rules/xUnit2004)
Build and Test: src/ImeWlConverterCoreTest/GooglePinyinTest.cs#L50
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 and Test: src/ImeWlConverterCoreTest/SougouPinyinScelTest.cs#L47
Do not use Assert.Equal() to check for boolean conditions. Use Assert.False instead. (https://xunit.net/xunit.analyzers/rules/xUnit2004)
Build and Test: src/ImeWlConverterCoreTest/Win10MsPinyinSelfStudyTest.cs#L29
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 and Test: src/ImeWlConverterCoreTest/Win10MsPinyinSelfStudyTest.cs#L81
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 and Test: src/ImeWlConverterCoreTest/Win10MsPinyinSelfStudyTest.cs#L76
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 and Test: src/ImeWlConverterCoreTest/BaseTest.cs#L31
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build and Test: src/ImeWlConverterCoreTest/BaseTest.cs#L30
The annotation for nullable reference types should only be used in code within a '#nullable' annotations context.
Build Windows (x64)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026
Build Windows (x86)
NOTICE: windows-latest requests are being redirected to windows-2025-vs2026 by June 15, 2026

Artifacts

Produced during runtime
Name Size Digest
linux-arm64 Expired
1.6 MB
sha256:8c0e1a313b0747b921dcbaec1198a48c10c1bdd3adc2834c6ecdc795e94ddce3
linux-integration-test-reports Expired
818 Bytes
sha256:1111fd0e7fe3587de1dd9751406b3cd2afa313d2b2682afaf329ee2fdee2cf3b
linux-x64 Expired
1.6 MB
sha256:c765dfa2d40ba3180e9916507f9157445162ff56c83b29fe8eca5bcc65110ded
macos-arm64 Expired
21.2 MB
sha256:4d4a92bf138631821b94e30095ad48eab84dfce243dffed9439394d336c10abc
macos-integration-test-reports Expired
843 Bytes
sha256:c22d1d2ad15cf52dff6153a1d58f3c3ce0f3cb7c51776a766c4d620d607eb0c1
macos-x64 Expired
21.6 MB
sha256:787e15181744d6c2149cbf480427b6844d719abcbae1e7e8c0411eb203f7ec90