fix PostBuildEvent so it doesn't copy to ProjectDir when LocalDebuggerWorkingDirectory is not set
This commit is contained in:
parent
ba82f44562
commit
351a0cf467
1 changed files with 2 additions and 2 deletions
|
@ -308,7 +308,7 @@ if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)"
|
|||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Command>
|
||||
if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)" (
|
||||
if NOT "$(LocalDebuggerWorkingDirectory)" == "$(ProjectDir)" if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)" (
|
||||
copy "$(TargetPath)" "$(LocalDebuggerWorkingDirectory)$(TargetFileName)"
|
||||
)
|
||||
</Command>
|
||||
|
@ -335,7 +335,7 @@ if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)"
|
|||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Command>
|
||||
if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)" (
|
||||
if NOT "$(LocalDebuggerWorkingDirectory)" == "$(ProjectDir)" if exist "$(LocalDebuggerCommand)" if exist "$(LocalDebuggerWorkingDirectory)" (
|
||||
copy "$(TargetPath)" "$(LocalDebuggerWorkingDirectory)$(TargetFileName)"
|
||||
)
|
||||
</Command>
|
||||
|
|
Loading…
Reference in a new issue