您好我的编译有一个问题
我有MSB3073错误1
VS2008项目中的命令是 SETLOCAL
set SDK_USAGE=1
if $(Configuration) == Debug_DLLOnly_ANSI (set SDK_USAGE=0)
if $(Configuration) == Debug_DLLOnly_UNICODE (set SDK_USAGE=0)
if $(Configuration) == Release_DLLOnly_ANSI (set SDK_USAGE=0)
if $(Configuration) == Release_DLLOnly_UNICODE (set SDK_USAGE=0)
if $(Configuration) == Debug_LIBOnly_ANSI (set SDK_USAGE=2)
if $(Configuration) == Debug_LIBOnly_UNICODE (set SDK_USAGE=2)
if $(Configuration) == Release_LIBOnly_ANSI (set SDK_USAGE=2)
if $(Configuration) == Release_LIBOnly_UNICODE (set SDK_USAGE=2)
set IS_64BIT=0
if $(Platform) == x64 (set IS_64BIT=1)
if exist FileCopy.bat (call FileCopy.bat %25SDK_USAGE%25 %25IS_64BIT%25 "$(TargetDir)")
之后尝试了关注代码
setlocal
set SDK_USAGE=1
if $(Configuration) == Debug_DLLOnly_ANSI (set SDK_USAGE=0)
if $(Configuration) == Debug_DLLOnly_UNICODE (set SDK_USAGE=0)
if $(Configuration) == Release_DLLOnly_ANSI (set SDK_USAGE=0)
if $(Configuration) == Release_DLLOnly_UNICODE (set SDK_USAGE=0)
if $(Configuration) == Debug_LIBOnly_ANSI (set SDK_USAGE=2)
if $(Configuration) == Debug_LIBOnly_UNICODE (set SDK_USAGE=2)
if $(Configuration) == Release_LIBOnly_ANSI (set SDK_USAGE=2)
if $(Configuration) == Release_LIBOnly_UNICODE (set SDK_USAGE=2)
set IS_64BIT=0
if $(Platform) == x64 (set IS_64BIT=1)
if exist FileCopy.bat (call FileCopy.bat %25SDK_USAGE%25 %25IS_64BIT%25 '$(TargetDir)')
但不成功,请问你有什么想法吗?
最诚挚的问候。
编辑:如果存在FileCopy.bat,我在删除时解决了我的问题(调用FileCopy.bat%25SDK_USAGE%25%25IS_64BIT%25' $(TargetDir)')