【问题】
在折腾:
的过程中,在新建的VB.Net 4.0的项目中,使用代码:
Imports System.Text.RegularExpressions Imports System.Xml Imports System.Xml.Linq Imports System.Core
结果出错:
Namespace or type specified in the Imports System.Core doesnot contain any public member or cannot be found
【解决过程】
1.去试了试,果然此处真的木有System.Core:
2.而且,经过验证,此处删掉这个
System.Core
对于后面的代码,貌似也没任何影响。
【总结】
不要轻易随便就相信别人的代码,还是要自己手动实践才可以的。
此处就是,System.Core,在VB.Net 4.0中,根本就没有这个东西。所以,也不需要导入这个东西。
转载请注明:在路上 » 【已解决】VB.Net中导入System.Core出错:Namespace or type specified in the Imports System.Core doesnot contain any public member or cannot be found