You can use $(Configuration) and the VS build system will expand it during the build time.
$(Configuration)