Daqing Chu At WordPress

November 13, 2010

NANT: Exec a Target with Arguments

Filed under: Programming Notes — David Chu @ 7:22 pm

Recently I encountered an minor issue when I tried to use NANT to build a Visual Studio solution. Finally I narrowed down to the problem. It was the Exec target failure when one of its parameter argument contains a space. I thought that I could use a function or tool to convert the argument (a path) from a long name to DOS short name. Unfortunately, there is not such function in NANT for Windows build.

[Read more…]


Blog at WordPress.com.