MSBuild can evaluate and output the value of properties without the need to create special targets.
msbuild myproject.dproj -getProperty:DCC_ExeOutput
You can also get item groups and target results. See https://learn.microsoft.com/en-us/visualstudio/msbuild/evaluate-items-and-properties?view=vs-2022