PROTECTED] On Behalf Of Chris Holt
Sent: Tuesday, July 25, 2006 7:22
AM
To:
nant-users@lists.sourceforge.net
Subject: [NAnt-users] MSBuild
I’m trying to switch my nant script to use the msbuild
task instead of executing devenv and I’m not sure how to properly choose
the build configuration.
So for
Some said the following back in May about MSBUILD:
“At
any rate, VS2005 has MSBuild, so until the solution task is updated for 2005,
you could just call MSBuild. this is what I'm doing, and works well.
It also has the advantage of building ALL project
types, including Setup/Deployment
I’m trying to switch my nant script to use the msbuild
task instead of executing devenv and I’m not sure how to properly choose
the build configuration.
So for example, if I want to clean the Debug build of a
solution file I understand that I need to have the task defined like this:
Actually, I'm not sure that will work either.
I think you have to do this:
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Melissa Kacher
Sent: Thursday, July 20, 2006 5:15 PM
To: Girardelli, Erin E; nant-users@lists.sourceforge.net
Subjec
Another way to handle this is to use the exec task on devenv.
I am doing this and it is also working well.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Andy Johnstone
Sent: Wednesday, May 17, 2006 3:19 PM
To: nant-users@lists.sourceforge.net
Subject: RE
The problem I believe is the /Wp64 argument.
That argument says to make your code 64 bit compatible. Casting a pointer
to DWORD is not allowed when that argument is set. I'm betting that that
option is not set in your project file. It can't be or else you would be
getting the same error.
-O
I have a task defined like:
This fails with
an error like:
Cannot resolve expanded value ''Latest' == 'Latest'' of 'if'
attribute to a Booean value.
What am I doing
I’m a newbie so forgive the uncertainty.
Is this how you would conditionally set a property via
environment variable:
="${environment::variable-exists('MYENVVAR')}">
environment::get-variable(‘MYENVVAR’)}”
/>
Thanks,
Chris