I have a <Exec> task that MSBuild runs whenever it builds my library. It looks like this:
<Exec Command="..\packages\xunit.runner.console.2.0.0\tools\xunit.console bin\$(Configuration)\Core.dll"/>
Everything seems to be working fine, however, I am worried that this might not work on Linux and OS X, because instead of the directory separator, instead of the standard / , a backslash is used. Is there a way to call Path.Combine from MSBuild so that I can avoid this problem?
source share