Dustin,

This is how I use devenv using the <exec> task:

<exec program="C:\Program Files\Microsoft Visual Studio .NET 
2003\Common7\IDE\devenv.com"
        commandline="&quot;${proj.rootdir}\${proj.subdir}\${proj.name}&quot; 
/build ${build.config}" />

Does this help? 

Felice

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gert Driesen
Sent: Wednesday, January 05, 2005 8:26 AM
To: Dustin Aleksiuk; nant-users@lists.sourceforge.net
Subject: Re: [Nant-users] I'm unable to exec devenv using the <exec>
task


Dustin,

What version of NAnt are you using ?  Can you post the build fragment that
fails ?

Gert

PS. What are the issues that you're running into with the <solution> task ?

----- Original Message ----- 
From: "Dustin Aleksiuk" <[EMAIL PROTECTED]>
To: <nant-users@lists.sourceforge.net>
Sent: Tuesday, January 04, 2005 3:07 PM
Subject: [Nant-users] I'm unable to exec devenv using the <exec> task


Hello,

I'm trying to exec devenv.exe using the exec task. I know that there is a
<solution> task, but it throws up errors that I don't get when building
straight from devenv.exe. We've decided that we want to run from devenv.exe
to make sure our CruiseControl build is totally consistent with our Visual
Studio build.

I hope that makes sense.

Here's the exact problem: I don't know how to get the following path to run:

D:\APPS\Microsoft Visual Studio .NET 2003\Common7\IDE\devenv.exe

The issue is with the "Microsoft Visual Studio .NET 2003" part of the path.
I get an "Illegal characters in path" error message. I've tried escaping it
in different ways and replacing it with Micros~3, but I get the same error
no matter what. Actually, the Micros~3 gives a different error, but I think
that the command window is choking on the same invalid characters, because
"Micros~1" and "Micros~2" work fine.

Any ideas?

Thanks,
Dustin Aleksiuk
------------------------------------------------------- The SF.Net email is
sponsored by: Beat the post-holiday blues Get a FREE limited edition
SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well,
almost....http://www.thinkgeek.com/sfshirt
_______________________________________________ Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to