Visual Studio - How to find which solution a source file is part of? -


i'm working ona project containing thousands of solutions (.sln) , tens of thousands of .cs/.cpp/etc files.

how can find solution(s) source file part of?

source files aren't part of solution. part of project, in turn part of solution. source file has no notion of being part of project though. project has reference file not other way around. 1 source file can part of multiple projects, might part of different solutions.

what parse sln , vbproj/csproj/whatever files see ones refer particular source file. files text , contain various information solution or project, including projects part of solution , files part of project. recursively parse files in folder build entire tree representing files in projects in solutions.

note files going referred relative paths in project file.


Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -