C
C#2y ago
Binto86

Post build event error [Answered]

this is not really c# question, but i am trying to setup postbuild event with my project rn it only echos the project folder. it works fine until i add if $(ConfigurationName) == Debug my working thing: echo $(ProjectDir)bin\Release non working:
if $(ConfigurationName) == Debug
(echo $(ProjectDir)bin\Release)
if $(ConfigurationName) == Debug
(echo $(ProjectDir)bin\Release)
error: Error MSB3073 The command "if Debug == Debug
2 Replies
Binto86
Binto862y ago
no idea whats the error, im not good with bat files oh removing () after the if solved the problem, weird ok it works now
Accord
Accord2y ago
✅ This post has been marked as answered!