$(OutDir)和$(TargetPath)宏是空的 [英] $(OutDir) and $(TargetPath) macros are empty
问题描述
大家好。
我在使用Visual Studio 2012 w / Update 1构建解决方案(包含多个项目)时遇到问题。
<我开始在构建过程中遇到问题(DEBUG模式)。似乎post-build事件没有为$(OutDir)和$(TargetPath)宏设置值。所以我的构建后脚本(XCOPY)失败。
过去几周构建过程运行良好。我不记得我的VS安装/配置有什么变化,除了安装Update 1..
有什么想法吗?
谢谢。
亲切的问候。
Marcello
。:。 Marcello Rutter。:。
我们可以做一个简单的测试来回显
(OutDir )和
(TargetPath)在预构建事件和后期构建事件中,它们输出了什么?
如果它们都是空的,我认为这些宏是错误的。
如果构建后事件为空,我认为这些宏在建筑物中已经更改。
Hello everybody.
I have a problem building a solution (with multiple projects) in Visual Studio 2012 w/Update 1.
I started to experience an issue during the build process (DEBUG mode). It seems that the post-build event does not set a value for the $(OutDir) and $(TargetPath) macros. So my post-build script (an XCOPY) fails.
The build process worked fine in the past weeks. I don't remember any change to my VS installation/configuration except the installation of the Update 1.
Any idea?
Thank you.
Kind regards.
Marcello
.:. Marcello Rutter .:.
We can do a simple test to echo
(OutDir) and
(TargetPath) in the pre build event and post build event, what are they output?If they are all empty, I think these macros are wrong.
If the post build event is empty, I think these macros are changed in the building.
这篇关于$(OutDir)和$(TargetPath)宏是空的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!