I need to execute the following Windows Azure SDK tool using the Exec
task:
C:\Program Files\Microsoft SDKs\Windows Azure\.NET SDK\v2.3\bin\cspack.exe
What is the best way to reference this path in my .build
file?
A direct reference, like below, it likely not to work on all hosts (build servers and development machines):
<Target Name="CreatePackage" DependsOnTargets="Build" AfterTargets="Build">
<Exec Command="C:\Program Files\Microsoft SDKs\Windows Azure\.NET SDK\v2.2\bin\cspack.exe /parameters"></Exec>
</Target>
(Note: I do not want to use the CSPack task)