Is there a "global" import in vb.net?

I have a class library called VectorExt

Since I use it in every .vb file in the project I work on, I wrote "Import VectorExt" in each one. Is there a way to save me from this problem and import it through the project? Sorta, like some of the base .net namespaces, is already available despite no import.

+3


source to share


1 answer


You can add or remove imported namespaces to your project.



To add imported namespace

  • In Solution Explorer, double click the My Project node for the project.
  • In the Project Designer go to the References tab.
  • In the Imported Namespaces list, select the check box for the namespace you want to add.
+6


source







All Articles