platform independent .proj file

181 Views Asked by At

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?

1

There are 1 best solutions below

0
On BEST ANSWER

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.