Hi Gert! I downloaded and executed it, but still skips the web project. I changed my script for it to compile the web project alone and then executed it, and I got an error message:
C:\projetos\GDQ>nant compile NAnt 0.85 (Build 0.85.2031.0; nightly; 24/7/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/projetos/GDQ/nant.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: compile compile: [solution] Starting solution build. BUILD FAILED Error loading project C:\projetos\GDQ\WEB\GDQ.vbproj. Project GUID {543E62E3-41 2B-4F19-A9AD-C4F59B8E7C4B} already exists! Conflicting project is C:\projetos\GD Q\WEB\GDQ.vbproj. Total time: 0.2 seconds. I have checked the GUIDs of all projects and they are all OK. There is no duplicated GUIDs across the project files nor in the solution file. Also all the GUIDs in the solution file match with the ones in the project files. I remember this problem have already happened with me a few months ago and it was because of duplicated GUIDs. After I have fixed them, the script worked correctly, but now there is nothing wrong with GUIDs. This is how my script look like now. <target name="compile"> <solution solutionfile=".\WEB\GDQ.sln" configuration="AutomatedBuild" outputdir="${binaries-directory}"> <projects> <include name=".\WEB\GDQ.vbproj" /> </projects> <webmap> <map url="http://localhost/GDQ" path=".\WEB" /> </webmap> </solution> </target> 2005/8/12, Gert Driesen <[EMAIL PROTECTED]>: > Celio, > > The project is probably skipped because the name of the project > configuration does not match the name of the solution configuration. > > This issue was fixed since. > > Try using a recent nightly build : > > http://nant.sourceforge.net/nightly/latest > > Gert > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Célio Cidral Junior > > Sent: vrijdag 12 augustus 2005 20:18 > > To: [email protected] > > Subject: [Nant-users] Why is NAnt skipping my web project? > > > > Hi! > > > > I have a solution containing four projects, and one of them is a web > > project. When I run my build script, the web project is being skipped. > > I checked everything and seems to be all right. The solution > > configuration is also ok, all projects are marked to be compiled. Does > > anyone know why it is being skipped? > > > > > > This is my build script, and the output follows. > > > > > > <?xml version="1.0" encoding="utf-8" ?> > > <project name="GDQ" default="compile"> > > <property name="build-directory" value=".\build" /> > > <property name="binaries-directory" > > value="${path::combine(build-directory,'bin')}" /> > > > > <target name="compile"> > > <solution solutionfile=".\WEB\GDQ.sln" > > configuration="AutomatedBuild" outputdir="${binaries-directory}"> > > <webmap> > > <map url="http://localhost/GDQ" path=".\WEB" /> > > </webmap> > > </solution> > > </target> > > </project> > > > > > > This is the output. > > > > > > C:\projetos\GDQ>nant compile > > NAnt 0.85 (Build 0.85.1966.0; nightly; 20/5/2005) > > Copyright (C) 2001-2005 Gerry Shaw > > http://nant.sourceforge.net > > > > Buildfile: file:///C:/projetos/GDQ/nant.build > > Target framework: Microsoft .NET Framework 1.1 > > Target(s) specified: compile > > > > > > compile: > > > > [solution] Starting solution build. > > [solution] Building 'busGDQ' [AutomatedBuild] ... > > [solution] Skipping 'GDQ' [AutomatedBuild] ... > > [solution] Building 'GDQ.RncProfile' [AutomatedBuild] ... > > [solution] Building 'GDQ.RncProfile.Test' [AutomatedBuild] ... > > > > BUILD SUCCEEDED > > > > Total time: 1 seconds. > > > > > > Celio Cidral Junior > > WEG Eletric > > http://www.weg.com.br > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development > > Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * > > Testing & QA > > Security * Process Improvement & Measurement * > > http://www.sqe.com/bsce5sf > > _______________________________________________ > > Nant-users mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/nant-users > > > > -- Celio Cidral Junior WEG Eletric http://www.weg.com.br ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Nant-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nant-users
