Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Difference in References and project imports
Message
 
À
29/08/2002 10:06:58
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00694915
Message ID:
00694948
Vues:
9
The Project References are all the assemblies (similar to class libraries in VFP) that your project will need access to. When you create a new project, depending on the type of project (Win App, Web App, Web Service, etc.), certain default references are added to your project automatically. You can then add more as your project dictates.

The Imports on the project property page is something unique to VB.NET. In VB.NET you can add default Imports references at the project level. The advantage of doing that is you don't need to add those Import statements to the top of your code files. It reduces the development time in setting up code files to contain the correct references that the file will need. You should add the common Imports at the project level that are global across your entire project and just add unique Imports to code files that are only needed in that particular file. That way intellisense doesn't show all the extra references throughout your project that you will rarely use.

>All,
>
>What is the difference between the Project References and the Imports on the project property page?
>
>TIA
>
>Rex
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform