© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
4 replies
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
if $(ConfigurationName) == Debug

my working thing:
echo $(ProjectDir)bin\Release
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 
Error    MSB3073    The command "if Debug == Debug 
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Nuget error when i build .sln [Answered]
C#CC# / help
4y ago