Is there anyway to disallow publishing Debug builds when publishing ClickOnce aplications using Visual Studio 2008?
I know this was asked before, but i can't figure out how from the answer. THe Accepted answer for previous question was:
One thing you can do is add a condition to the .csproj or .vbproj file that MSBuild will check when doing a build.
The condition would check if a publish is occurring and check if the build is a debug build, then do something like run an external tool or otherwise interrupt the build process or cause it to fail.
Could anyone elaborate on that answer or tell me where/or how I can add this condition.