Is there a way to convert something like this:

#define ERROR_LOG_LEVEL 5

Into something that msbuild via command line will pass to its projects?

msbuild.exe {???}ERROR_LOG_LEVEL=5 target

I've read the responses to similar questions, and it looks like the answer is no, just want to double-check in case some genius has found a workaround.

Edit
Report