Skip to content

Commit d26b5bd

Browse files
committed
fix: 修复 NETSDK1151 错误,允许 WinForms 引用 CLI exe 项目
--bug=82
1 parent 7fb2c1a commit d26b5bd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/IME WL Converter Win/IME WL Converter Win.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
<UseWindowsForms>true</UseWindowsForms>
3838
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
3939
<Platforms>AnyCPU;x86</Platforms>
40+
41+
<!-- 允许引用 ImeWlConverterCmd.exe(NETSDK1151 规避,必须放消费方) -->
42+
<ValidateExecutableReferencesMatchSelfContained>false</ValidateExecutableReferencesMatchSelfContained>
4043
</PropertyGroup>
4144
<PropertyGroup>
4245
<ManifestCertificateThumbprint>D023E0A7D1F29511E571C5D888823CF5150F5061</ManifestCertificateThumbprint>

0 commit comments

Comments
 (0)