Is there a way to temporarily disable pre and post build events?
i.e. build without build events (which are taking a bit of time but arent always crucial to run)
At the moment, I have minification and a couple of other things going on and I don't always need that.
Stuff like minimization only matters for the Release build. So you could skip it like this:
if "$(ConfigurationName)" == "Debug" goto skip
; stuff here...
:skip
There are some other macros you can use, click the Edit button and the Macro>> button to see them. Environment variables can be tested as well, use %varname%. But are much harder to set.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With