Atlanta Custom Software Development 

 
   Search        Code/Page
 

User Login
Email

Password

 

Forgot the Password?
Services
» Web Development
» Maintenance
» Data Integration/BI
» Information Management
Programming
  Database
Automation
OS/Networking
Graphics
Links
Tools
» Regular Expr Tester
» Free Tools

Including/excluding files in Visual Studio .NET
[ All Languages » VB.net »  IDE]

Total Hit ( 2632)

Rate this article:     Poor     Excellent 

 Submit Your Question/Comment about this article

Rating


 


Say that that you have an existing Visual Studio .NET project, and that you copy a lot of new source code files, images and other stuff from another project (maybe you're merging two projects, or a colleague wrote and passed those files to you). One approach to include the new files is to use the Project | Add Existing Item… command and select all the files you want to include in the current project. Unfortunately this is quite long if the files are organized in a lot of sub-directories, and even more if you want to first check the content of the file, and eventually add the ones you need. A much simpler approach is the following: by clicking the Project | Show all files command the Solution Explorer will be filled with all the files and directories located under the project's main directory, allowing to easily browse the sub-directories, and to open the source code files to read their content, without actually adding them to the project. When you find the files you need, simply right click on them in the Solution Explorer, and select Include In Project. If you later want to remove a file from the project, without physically deleting it, right click on the file and select Exclude From Project.


Submitted By : Nayan Patel  (Member Since : 5/26/2004 12:23:06 PM)

Job Description : He is the moderator of this site and currently working as an independent consultant. He works with VB.net/ASP.net, SQL Server and other MS technologies. He is MCSD.net, MCDBA and MCSE. In his free time he likes to watch funny movies and doing oil painting.
View all (893) submissions by this author  (Birth Date : 7/14/1981 )


Home   |  Comment   |  Contact Us   |  Privacy Policy   |  Terms & Conditions   |  BlogsZappySys

© 2008 BinaryWorld LLC. All rights reserved.