Link to all Visual Studio $ variables

后端 未结 7 866
悲哀的现实
悲哀的现实 2020-11-28 01:41

I was having a look at $(Configuration),$(ProjectDir) etc. in Visual Studio 2008 for Prebuild events.

Is there a link to all of these varia

相关标签:
7条回答
  • 2020-11-28 02:21

    Anybody working on legacy software using Visual Studio 6.0 will find that $(Configuration) and $(ProjectDir) macro's are not defined. For post-build/pre-build events, give a relative path starting with the location of your .dsw file(workspace) as the starting point. In relative path dot represents the current directory and .. represents the parent directory. Give a relative path to the file that need to be processed. Example: ( copy /y .\..\..\Debug\mylib.dll .\..\MyProject\Debug\ )

    0 讨论(0)
提交回复
热议问题