VB.Net and Namespaces for all project
I'm developing an web application using VB.Net, and I would like to know, if is there any way to make a namespace to be viewed by all p开发者_JAVA百科roject without necessary Imports ?
Thanks
Yes, this can be done. Right click on the project and choose properties. Navigate to the References tab and tick the namespaces you want imported automatically. There are usually several that are ticked by default including System
, Microsoft.VisualBasic
, etc.
精彩评论