Not sure what you mean about the configuration property.  The documentation of the msbuild task doesn’t list a configuration property.  Is there one that isn’t documented?

 

Chris

 


From: Robinson, Heath [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 25, 2006 9:27 AM
To: Chris Holt; nant-users@lists.sourceforge.net
Subject: RE: [NAnt-users] MSBuild

 

If you are using the msbuild task that I wrote (does the nightly build contain one), you should specify the Configuration property just like you would on the <nant> task.

 


From: [EMAIL PROTECTED] [mailto:[EMAIL 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 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:

 

<msbuild project="${build.dir}\My.sln" target="Clean" />

 

But how do I tell it to clean the debug configuration as opposed to the Release configuration or vice versa?

Does anybody have an example of doing this?

 

Thanks,

 

Chris

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to