I haven't done any VS 2005 work myself but you would do
something like
<exec program="msbuild.exe">
<arg
value="/property:Configuration=Release">
<arg
value="/target:Build">
<arg
value="myproject.sln"></exec>
From: Kumar .S [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 17, 2006 11:26 AM
To: Arnette, Bill
Subject: Re: [NAnt-users] "Error loading GUID..." when using <solution> task forVS2005Hello Arnette,Can you send a sample script using <exec> to build an nant project. I am new user of Nant. Till now I developed all my applications using nant on VS 2003. Now, we are moving to VS 2005. Please I am not a extensive user of nant. I have little time, so I request you for a sample script. Please.Regards,Kumar
On 10/17/06, Arnette, Bill <[EMAIL PROTECTED]> wrote:Nant does not support VS 2005 solution files yet. Use the <exec> task
to call msbuild on VS 2005 solution files.
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto: [EMAIL PROTECTED]] On Behalf
> Of [EMAIL PROTECTED]
> Sent: Tuesday, October 17, 2006 6:14 AM
> To: nant-users@lists.sourceforge.net
> Subject: [NAnt-users] "Error loading GUID..." when using
> <solution> task forVS2005
>
> Hi
>
> Why can't nant find the GUID in the project file?
> We have migrated a project from VS 2003 to VS 2005. VS 2005 converted
> the project file for us.
> I am using the latest 0.85 release when I build.
>
> Part from the log file:
> [exec] [solution] Starting solution build.
>
> [exec] BUILD FAILED - 0 non-fatal error(s), 1 warning(s)
>
> [exec] Error loading GUID of project
> 'c:\home\ros\v570\20061017\TietoEnator\Ros\DesktopWebClient\Ti
> etoEnator.
> RoS.DesktopWebClient.csproj'.
> [exec] Couldn't locate ProjectGuid in project
> 'c:\home\ros\v570\20061017\TietoEnator\Ros\DesktopWebClient\Ti
> etoEnator.
> RoS.DesktopWebClient.csproj '
>
>
> Part of the new (VS 2005) .csproj file:
> <Project DefaultTargets="Build"
> xmlns="http://schemas.microsoft.com/developer/msbuild/2003 ">
> <PropertyGroup>
> <ProjectType>Local</ProjectType>
> <ProductVersion>8.0.50727</ProductVersion>
> <SchemaVersion>2.0</SchemaVersion>
> <ProjectGuid>{8B9487D6-D6A0-4BCD-A78B-25CA33739757}</ProjectGuid>
> ...
>
>
> Part of the old (VS 2003) .csproj file:
> <VisualStudioProject>
> <CSHARP
> ProjectType = "Local"
> ProductVersion = "7.10.3077"
> SchemaVersion = "2.0"
> ProjectGuid = "{8B9487D6-D6A0-4BCD-A78B-25CA33739757}"
> >
> ...
>
>
> ---------------
> Richard Persson
> TietoEnator AS
> mailto:[EMAIL PROTECTED]
> Office: +47 21 70 75 46
> Mobile: +47 48 20 85 46
>
>
> --------------------------------------------------------------
> -----------
> Using Tomcat but need to do more? Need to support web
> services, security?
> Get stuff done quickly with pre-integrated technology to make
> your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on
> Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&
> dat=121642
> _______________________________________________
> NAnt-users mailing list
> NAnt-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nant-users
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users