简体   繁体   中英

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 project 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM