Visual Studio Output directory | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Visual Studio Output directory

Hi I have a solution of Visual Studio of C++ project. In property page, i have output directory field. It has some value like $MyOutpath. I checked that MyOutpath is not present into System or user level environment variable. Also it is not present into Property page macro. How come it is working? This is obviously not VS specific Environment variable. How can I find the path of MyOutpath i.e. where it is defined?

19th Sep 2021, 1:28 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
2 Answers
0
Hi Martin Taylor I can find DLL generated by solution... What I am confused is where else we can store custom path. When I am not changing anything in visual studio, I can find generated output. Also if I change output directory to say for example as c:\test, I am getting output in test directory Now confusion is that I got one solution where output directory (project property) is set as $MyOutpath When I build project I got path of DLL generated by project from output window... DLL is also found... Now assum that it is in c:\test Now question is that where c:\test is stored as $MyOutpath I checked system environment variable and property page macro of solution but couldn't find the value of $MyOutpath
19th Sep 2021, 7:07 PM
Ketan Lalcheta
Ketan Lalcheta - avatar
0
True... I do understand that it might be in solution or project. I remember that one option is to check in macro from property page but it is not present. Finally as a last trial , I searched for path value in all the project file (.sln, .vcxproj,.usr,.filter) opened in notepad and still not find path mentioned anywhere (I searched for c:\test in notepad files) Somewhere it is stored but where? From ui also not able to find and from project files opened as text file manually also not suggesting location
20th Sep 2021, 7:20 AM
Ketan Lalcheta
Ketan Lalcheta - avatar