Hi All, I'm trying to build by using the solution task. My build file looks like this :
<?xml version="1.0"?> <project name="Shop" default="build" xmlns="http://nant.sourceforge.net/schema/nant-20030903.xsd"> <property name="basename" value="Shop"/> <property name="debug" value="true"/> <target name="clean"> <delete> <fileset> <includes name="${basename}.dll"/> <includes name="${basename}.pdb"/> </fileset> </delete> </target> <target name="build"> <solution solutionfile="Shop.sln" configuration="release"> <webmap> <map url="http://localhost/WebUI/WebUI.vbproj" path="C:\Inetpub\wwwroot\WebUI\WebUI.vbproj" /> </webmap> </solution> </target> </project> When I try to build this the following error message is generated : NAnt 0.85 (Build 0.85.1436.0; net-1.0.win32; nightly; 07-12-2003) Copyright (C) 2001-2003 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/DATA/DotNet/Saber/Visual Studio Projects/ASRBizz/Shop/Shop .build Target(s) specified: build build: [solution] Starting solution build. [solution] Loading projects... [solution] Loading project 'C:\Inetpub\wwwroot\WebUI\WebUI.vbproj'. BUILD FAILED GUID corruption detected for project 'WebUI'. GUID values in project file and so lution file do not match ('{983547E4-E07A-4234-8E54-6B909B743494}' and '{79D7118 A-2E7E-4D08-A894-198F63FBBE16}'). Please correct this manually. Total time: 0.1 seconds. A fragment for of the project file for the web project looks like this : <VisualStudioProject> <VisualBasic ProjectType = "Web" ProductVersion = "7.10.3077" SchemaVersion = "2.0" ProjectGuid = "{79D7118A-2E7E-4D08-A894-198F63FBBE16}" > The Solution file looks like this : Microsoft Visual Studio Solution File, Format Version 8.00 Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "DataServices", "DataServices\DataServices.vbproj", "{7B537F00-CAFD-4662-9595-F844C3FFCB59}" ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "WebUI", "http://localhost/WebUI/WebUI.vbproj", "{79D7118A-2E7E-4D08-A894-198F63FBBE16}" ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "BusinessStub", "..\ShopTestStubs\Business\BusinessStub.vbproj", "{4D29B80F-5B66-413F-86DB-80F069587F41}" ProjectSection(ProjectDependencies) = postProject EndProjectSection EndProject Global GlobalSection(SolutionConfiguration) = preSolution Debug = Debug Release = Release EndGlobalSection GlobalSection(ProjectConfiguration) = postSolution {7B537F00-CAFD-4662-9595-F844C3FFCB59}.Debug.ActiveCfg = Debug|.NET {7B537F00-CAFD-4662-9595-F844C3FFCB59}.Debug.Build.0 = Debug|.NET {7B537F00-CAFD-4662-9595-F844C3FFCB59}.Release.ActiveCfg = Release|.NET {7B537F00-CAFD-4662-9595-F844C3FFCB59}.Release.Build.0 = Release|.NET {79D7118A-2E7E-4D08-A894-198F63FBBE16}.Debug.ActiveCfg = Debug|.NET {79D7118A-2E7E-4D08-A894-198F63FBBE16}.Debug.Build.0 = Debug|.NET {79D7118A-2E7E-4D08-A894-198F63FBBE16}.Release.ActiveCfg = Release|.NET {79D7118A-2E7E-4D08-A894-198F63FBBE16}.Release.Build.0 = Release|.NET {4D29B80F-5B66-413F-86DB-80F069587F41}.Debug.ActiveCfg = Debug|.NET {4D29B80F-5B66-413F-86DB-80F069587F41}.Debug.Build.0 = Debug|.NET {4D29B80F-5B66-413F-86DB-80F069587F41}.Release.ActiveCfg = Release|.NET {4D29B80F-5B66-413F-86DB-80F069587F41}.Release.Build.0 = Release|.NET EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution EndGlobalSection GlobalSection(ExtensibilityAddIns) = postSolution EndGlobalSection EndGlobal For some reason it complains about a guid which is not matching, but the seem to match. Regards Saber ****************************DISCLAIMER*********************************** Deze e-mail is uitsluitend bestemd voor de geadresseerde(n). Verstrekking aan en gebruik door anderen is niet toegestaan. Fortis sluit iedere aansprakelijkheid uit die voortvloeit uit electronische verzending. This e-mail is intended exclusively for the addressee(s), and may not be passed on to, or made available for use by any person other than the addressee(s). Fortis rules out any and every liability resulting from any electronic transmission. ******************************************************************************* ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users