Agreed. Make sure the hint paths are correct. Remember, the reference
paths in visual studio don't apply to msbuild run outside of it.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lattimer,
Ryan
Sent: Tuesday, April 29, 2008 2:26 PM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] MS Visual Studio 2005 Solution filesand
<msbuild>command

I'm not sure setting the configuration to Release is going to fix your
errors though.  My guess is you are probably getting "reference not
found errors".  You will probably have to add extra references to your
projects that Visual Studio does need because it can locate them itself.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jacob
Siegel
Sent: Tuesday, April 29, 2008 2:21 PM
To: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] MS Visual Studio 2005 Solution files and
<msbuild>command

I'm fairly new myself, but the following works for me:

<property name="config" value="debug" overwrite="false" /> ...
<msbuild project="src/Scripting/lua/Lua.NET.sln" verbosity="Minimal">
       <property name="Configuration" value="${config}" /> </msbuild>


     -Jacob

Quoting Scott Mitchell <[EMAIL PROTECTED]>:

> I hope someone here can help me.
>
>
>
> I am new to NANT. So please forgive me if I am overlooking something.
>
>
>
> My problems is using VS 2005 solution files and NANT. I understand 
> from the documentation that 2005 Solution files can not be used when 
> using the NANT <solution> command. So it was suggested on one of the 
> posts in archives for this list that <msbuild> be used. But I have 
> problems with that also.
>
>
>
> Here is the lines from my .build file that should build the solution 
> file. It launches the solution file, and does the build but I get all 
> kinds of errors when building through this, whereas if I launch the 
> .sln file myself and do the build that way it works fine with now 
> errors. One of the things that I noticed is that I need to set the 
> buildtype = release. How would I do that with this command? I can't 
> seem to find any examples on using <msbuild> command.
>
>
>
> <target name="buildBuilder">
>
> <msbuild
> project="${local.chekout.path}\lightnet\lights32\lights32.sln"/>
>
> </target>
>
>
>
> This should be a lot easier than I am making it out to be, and I am 
> sure I am just missing something, but I can't seem to figure it out.
>
>
>
> Any sort of help would just be greatly appreciated.
>
>
>
> Thanks,
>
> Scott Mitchell
>
>
>
> --
>
> Scott Mitchell
>
> Engineering
>
>
>
> Colorado vNet
>
>
>
> direct 970 203 3756
>
> main 970 203 3700
>
> fax 970 203 3701
>
>
>
> email [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>
> web www.coloradovnet.com <http://www.coloradovnet.com>
>
>
>
> 255 East Sixth Street
>
> Loveland, Colorado 80537
>
>
>
>
>
>



------------------------------------------------------------------------
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't
miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j
avaone
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

------------------------------------------------------------------------
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/j
avaone
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to