What is the meaning of $(SolutionDir)\..\..\..\
You asked two completely independent questions. Below is the answer to your second one. I recommend re-asking your first one as a separate question.
The characters ..\
signify moving up the folder hierarchy by one level. So, if while in the directory a\b\c\d\e\f\g\
I referenced \..\..\..\
, I would be now looking at a\b\c\d\
The starting \
simply says to reference the current directory and is (usually) optional.
lightrek
I am currently cs student. I am trying to do some research in Computer Graphics and HCI. I also plan to embed my computer vision skill into my new HCI project
Updated on June 04, 2022Comments
-
lightrek almost 2 years
In the property sheet: for one User Macros, the name is OSGVE_DIR, with Value: $(SolutionDir)\..\..\..\..
What is the path of $(SolutionDir) ? \..\..\..\.. the slashes means change to the sub directory or up directory?
-
ta.speot.is about 11 years
$(SolutionDir)
is a macro, it should expand to the directory that holds yourSolution.sln
file. The SOLUTION DIRectory, I think it's called...
-
-
lightrek about 11 yearsSo, you mean: if I have a directory: a\b\c, then a\b\c\.. change the directory to a\b ?
-
supersam654 about 11 yearsExactly. Every "..\" moves up on level.