VB .Net: Import NameSpace to Project
vblover programmer
Posted on August 24, 2024
Hi there...
To Import a NameSpace in each CodeFile(Class, Module,...) of project in Visual-Basic we can use Imports KeyWord.
Example:
Imports System.Reflection
By this kind of Import we can use that NameSpace Members just at the current filecode.
But for Use A NameSpace at Project (As General), we need to use the Project Properties....
Steps:
1. Right-Click on Project and Select Properties, to show Project Properties Window.
2. Select 'References' Tab Page....
3.Find each Namespaces at 'Imported Namespaces' Section, you need in your project and Select those to Import in Project....
Note: If you can't find any Namespaces, Using 'Add Reference...' Feature to Add Reference in project then find and select that Namespace at 'Imported Namespaces' Section.
💖 💪 🙅 🚩
vblover programmer
Posted on August 24, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
githubcopilot AI Innovations at Microsoft Ignite 2024 What You Need to Know (Part 2)
November 29, 2024