Hi.
I am new to visual studio 2005.
I have created several projects.
Now if i select any file ( from various projects which i have created), then is there any way to find out which project this file belongs to.
Thanks in advance.
Printable View
Hi.
I am new to visual studio 2005.
I have created several projects.
Now if i select any file ( from various projects which i have created), then is there any way to find out which project this file belongs to.
Thanks in advance.
Files do no belong to any project.
So if you want a file to exist in only one project, usually you put them inside the project's directory (so you should be able to tell to which project it belongs to by reading the project directory name in which the file resides).
IDE issue. Moving to Tech.
The files used by each project should be listed in at least one text-file within the project (.dsp or .vcproj or whatever it is called in your version of Visual Studio you are using).
So you can use some tool to search for the filename in the relevant project files.
--
Mats
It's vcproj for projects, sln for solution which contains projects.
When you create a project, all file which reference to that project gets placed in one single folder. Which is infact more organised. So which files are you getting messed up. All files in the project would have been given name which is something similar to your project forder name.
So there is no way you get lost. If you wanted to serach for a specfic project in a folder then you will have to do them through their extension. As mentioned before it is .sln. Use wild card to serach for all file with ext .sln and see if you can find anyfiles which you are looking for.
ssharish