In vs2008, C# build events are configuration-specific.
Looking for ideas on how to make my build event run only when doing a Release build.
Ideas?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Unfortunately the C# projects do not support anything like this that I have found. I have had to resort to writing makefiles in certain situations to get around this. You could also write a batch file or a simple program that accepts a parameter then call it like this from the build event: