CanEnableIme的问题

使用.net 2.0有的机器打开控件没事,有的报错误

后来看了下System.Windows.Forms.dll版本一个是42一个是3053后来查了下sp2的版本是3053,安装了netsp2版本问题解决

System.TypeLoadException: 程序集“…, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null”的类型“…..BorderUserControl”上的方法“get_CanEnableIme”正在重写在此程序集中不可见的方法。

.net framework product version

service pack level

version

.net framework 1.0

original release

1.0.3705.0 and 7.0.9466.0

.net framework 1.0

service pack 1

1.0.3705.209

.net framework 1.0

service pack 2

1.0.3705.288 and 7.0.9502.0

.net framework 1.0

service pack 3

1.0.3705.6018 and 7.0.9951.0

.net framework 1.1

original release

1.1.4322.573 and 7.10.3052.4

.net framework 1.1

service pack 1

1.1.4322.2032 (if you have the msi-based 1.1 sp1 installed) or 1.1.4322.2300 (if you have the ocm-based 1.1 sp1 installed on windows server 2003) and 7.10.6001.4

.net framework 2.0

beta 1

2.0.40607.16 and 8.0.40607.16

.net framework 2.0

beta 2

2.0.50215.44 and 8.0.50215.44

.net framework 2.0

original release

2.0.50727.42 and 8.0.50727.42

.net framework 2.0

service pack 1

2.0.50727.1433 and 8.0.50727.1433

.net framework 2.0

service pack 2

2.0.50727.3053 and 8.0.50727.3053

.net framework2.0
the final version of windows vista

2.0.50727.312

.net framework 3.0

original release

3.0.04506.26 (on windows vista) and 3.0.04506.30 (on downlevel operating systems)

.net framework 3.0

service pack 1

3.0.04506.648

.net framework 3.0

service pac

0.04506.2152

.net framework 3.5

original release

3.5.21022.8 and 9.0.21022.8

.net framework 3.5

service pack 1

3.5.30729.1 and 9.0.30729.1

.net2.0sp2

http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&FamilyID=5b2c0358-915b-4eb5-9b1d-10e506da9d0f

原文地址:https://www.cnblogs.com/cwfsoft/p/1785774.html