Question

I want to use my .proj file for both msbuild and xbuild. Currently I have paths like

$(ProjectDir)\..\..\

How can I re-write these paths so I can call xbuild on the proj file without having to modify?

Was it helpful?

Solution

xbuild is smart enough to handle the directory separators for you, so please stick to MSBuild style. You just need to pay attention to others.

Grab a Linux box and try it out.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top