Click here to Skip to main content
15,911,646 members
Please Sign up or sign in to vote.
3.00/5 (3 votes)
See more:
I'm new to C#. I was wondering what exactly the phrase project directory means, and where it is located?
Posted
Updated 28-Oct-10 4:06am
v3
Comments
Chirry 28-Oct-10 9:28am    
Thankkk u soo muchhhh guyss!!
so if someone has suggested me to add some .cs files to my project directory and then add the c.s to the project what does that really means?
Chirry 28-Oct-10 9:28am    
correction is not c.s i meant .cs
BillW33 28-Oct-10 10:15am    
That means copy the new source files (*.cs files) to the same folder as the other source files in your solution. Then open your solution, right-click on a project in your solution, from the pop-up menu select Add then Existing Item, in the Add Existing Item dialog select the new files and press OK.
Chirry 28-Oct-10 11:00am    
I successfully implement it thanks alot for ur helpp everyonee, God bless.
i couldnt have done it without ur help and explanations

The project directory is the folder on your hard drive where all your code and the necesssary settings are store. Usually visual studio creates this for you when you create your project.
The folder structrure is usually:
<br />
ProjectName<br />
 |-ProjectName<br />
  |-Yourcode.cs<br />
  |-ProjectName.csproj<br />
 |-ProjectName.sln<br />
 
Share this answer
 
v2
It depends on what you mean by the project directory. If you are referring to a C# project then you will find it inside the solution directory. Take a look inside your directory tree with Windows Explorer to see what is located at each level.
 
Share this answer
 
u can find the project by following with this path


C:\Documents and Settings\Administrator\My Documents\Visual Studio 2005\Projects


note: it may change depends upon ur vs2005 installation.. but mostly its correct path...
 
Share this answer
 
Comments
Toli Cuturicu 28-Oct-10 12:13pm    
No txtspk.
I mean it! Never, ever again!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900