Skip to content

fix(ci): 修复 NETSDK1102 错误,仅在 self-contained 发布时启用 trim/R2R #81

fix(ci): 修复 NETSDK1102 错误,仅在 self-contained 发布时启用 trim/R2R

fix(ci): 修复 NETSDK1102 错误,仅在 self-contained 发布时启用 trim/R2R #81

Triggered via push May 28, 2026 01:34
Status Failure
Total duration 3m 45s
Artifacts 6

ci.yml

on: push
Lint and Format Check
57s
Lint and Format Check
Build and Test
58s
Build and Test
Matrix: build-linux
Matrix: build-macos
Matrix: build-windows
CI Success
3s
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)
The referenced project '..\ImeWlConverterCmd\ImeWlConverterCmd.csproj' is a self-contained executable. A self-contained executable cannot be referenced by a non self-contained executable. For more information, see https://aka.ms/netsdk1151
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/SougouPinyinScelExportTest.cs#L164
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/SougouPinyinScelExportTest.cs#L141
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/SougouPinyinScelExportTest.cs#L135
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/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/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/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/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:785b351847cd1a399e03d242323eeca158438dc089c1a9a1d86b27af458738f2
linux-integration-test-reports Expired
812 Bytes
sha256:e1f36f2539e0423a4fd6995b33e3a732ef744b565984b48252a0de36186bde5c
linux-x64 Expired
1.6 MB
sha256:1f1ec12ba98c0b7af4afaab588fe31b44027e12a543dd0b6eb404b2a6625d668
macos-arm64 Expired
21.2 MB
sha256:72f3892aae1847cd81046c7fc54a537a6d7ab3b38b04ff48bce8fce3dc40f8f6
macos-integration-test-reports Expired
824 Bytes
sha256:344e6ddb69d244931118b393c4915e25694feda4f6c1efffc239e00555c2e74d
macos-x64 Expired
21.6 MB
sha256:edee042c967d089f0bc39917db30f3e2b0703b46ed4e67abc47004307102a798