VC++ .NET ignores output/intermediary directory
-
Ok. I've tried putting in every valid path combination in the projects settings, but the .obj files ALWAYS ends up under $(ProjectDir)/Debug. No matter what I do. Any ideas? /Rob
-
Ok. I've tried putting in every valid path combination in the projects settings, but the .obj files ALWAYS ends up under $(ProjectDir)/Debug. No matter what I do. Any ideas? /Rob
I remember having problems with this a while ago. Check that the 'Object File Name' (C/C++ - Output Files) is set to the location that you expect, if visual studio can't work out what the location means it will output to the default location (with no warnings or errors). Specifically check that you have a trailing slash. $(IntDir)/
If you can keep you head when all about you Are losing theirs and blaming it on you; If you can dream - and not make dreams your master; If you can think - and not make thoughts your aim; Yours is the Earth and everything that's in it. Rudyard Kipling
-
I remember having problems with this a while ago. Check that the 'Object File Name' (C/C++ - Output Files) is set to the location that you expect, if visual studio can't work out what the location means it will output to the default location (with no warnings or errors). Specifically check that you have a trailing slash. $(IntDir)/
If you can keep you head when all about you Are losing theirs and blaming it on you; If you can dream - and not make dreams your master; If you can think - and not make thoughts your aim; Yours is the Earth and everything that's in it. Rudyard Kipling
Will check that. Because the odd thing is that the buildlog.html file does end up in the directories specified, but not any of the output files *.obj etc. etc. Thanks Andrew.
-
I remember having problems with this a while ago. Check that the 'Object File Name' (C/C++ - Output Files) is set to the location that you expect, if visual studio can't work out what the location means it will output to the default location (with no warnings or errors). Specifically check that you have a trailing slash. $(IntDir)/
If you can keep you head when all about you Are losing theirs and blaming it on you; If you can dream - and not make dreams your master; If you can think - and not make thoughts your aim; Yours is the Earth and everything that's in it. Rudyard Kipling
Indeed Andrew, I think the problem arised from having VC++ 6 projects ported to VS .NET . The "output files" section as you pointed out, was ".\Debug/" . By clicking the combobox and selecting "", the correct path was setup, i.e. "$(IntDir)/" and everything worked A OK. Thanks again Andrew, /Rob