Hi Bob,

I have found yesterday in the MsBuild task is possible to specify the
property and change the ouputpath using this.

Thanks
Arnaud

2008/10/15 Bob Archer <[EMAIL PROTECTED]>

>  If the MSBuild task has all the options you want that is fine. If not use
> the exec task. The MSBuild task should use the correct version of msbuild
> based on what version of the framework you are targeting, so it has that
> advantage.
>
>
>
> For the second issue there are a couple of ways you can go here.
>
>
>
>    1. Create a build configuration in your solution and set the output
>    folder to whatever location you desire. Use the build configuration in your
>    msbuild task.
>    2. After the MSBuild task use a copy task to put the files in your
>    artifacts or deploy or whatever folder you want to. Personally, I prefer 
> and
>    use this option.
>
>
>
> BOb
>
>
>  ------------------------------
>
> *From:* arnaud gaudin [mailto:[EMAIL PROTECTED]
> *Sent:* Tuesday, October 14, 2008 6:44 PM
> *To:* nant-users@lists.sourceforge.net
> *Subject:* [NAnt-users] Build VS2008 with Nant, Solution task or MsBuild
>
>
>
> Hi everybody,
>
>
>
> I'm a newbye in Nant , CCNet, and Automation. I have read a book and a
> couple article about the CI.
>
> This week, I start to pratice it's going pretty well so far ;-)
>
>
>
> So I have a NAnt script, and I want to build the VS2008 solution, using the
> task "Solution". But this task doesn't seem to be supported for VS2008, Coud
> you confirm this to me, thanks?.
>
>
>
> So I add an another look in the doc and in NantContrib I have found a task
> Msbuild, I used this task and it works fine.
>
>
>
> But I have 2 othes questions:
>
>
>
> - Which of these two tasks are best to use MsBuild Task or run the Exec
> task to call Msbuild.exe ? (The answer it's probably the task or maybe
> another thing, I 'd love have your opinion)
>
> - The build create the usual bin and obj folders in the solution folder, so
> I'm wondering if the Msbuild task provide us the feature to change the
> output, or else if we have to change the solution file for that with Nant?
>
>
>
> Thanks a million for your answer.
>
>
>
> Arnaud
>
>
>
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to