碰到的异常

Unable to cast object of type 'System.Windows.Forms.SplitContainer' to type 'System.ComponentModel.ISupportInitialize'.

新建项目时,.NET框架采用的是4.0

编译前,手动改为3.5,则出现异常:

Unable to cast object of type 'System.Windows.Forms.SplitContainer' to type 'System.ComponentModel.ISupportInitialize'.

只有手动改为4.0,或者4.0 client profile

原文地址:https://www.cnblogs.com/xiexiaokui/p/4230714.html