Error running devenv.exe using ant exec task with Ant 1.71

Trying to rewrite the post..

I spent a half day on trying to make it work - a simple ant target to run devenv.exe (command line that builds visual studio solution) using <exec> task on Windows (of cause).
I used the latest Ant 1.7.1, and i kept getting error like 'Cannot run program', any environment settings did not help.
The only thing that worked was switching to Ant 1.6.5.

The truth is i didn't try to find explanations, but i believe it's just a bug in the latest Ant.

DevOps Architect

DevOps Group