Bugs item #1831942, was opened at 2007-11-14 19:16 Message generated for change (Comment added) made by drieseng You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1831942&group_id=31650
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Tasks Group: 0.85 >Status: Deleted >Resolution: Invalid Priority: 5 Private: No Submitted By: Gemma Cameron (gemcam) Assigned to: Nobody/Anonymous (nobody) Summary: Error loading GUID of project 'myproject.csproj'. Initial Comment: Please see the build file and results below: <?xml version="1.0"?> <project name="IEM" default="build" xmlns="http://nant.sf.net/schemas/nant-0.84.win32.net-1.0.xsd" > <property name="basedir" value="C:/IEM/dot Net" overwrite="false" /> <property name="common-dir" value="${basedir}/Common" overwrite="false" /> <property name="server-dir" value="${basedir}/IEMServer" overwrite="false" /> <property name="reachback-dir" value="${basedir}/ReachBack Dev\ReachBack" overwrite="false" /> <property name="client-dir" value="${basedir}/IEMClient" overwrite="false" /> <property name="imageViewer-dir" value="${basedir}/ImageViewer" overwrite="false" /> <property name="clientlib-dir" value="${basedir}/IEMClientLibrary" overwrite="false" /> <property name="solution.target" value="${basedir}/bin" overwrite="false" /> <property name="devenv.path" value="C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe" /> <target name="build" description="Compiles the source code" depends="clean"> <mkdir dir="bin" /> <property name="configuration" value="debug"/> <call target="build-list" /> <!--<property name="expected.output" value="C:/IEM/dot Net/bin/IEM.exe" overwrite="false" /> <fail unless="${file::exists(expected.output)}">Output file doesn't exist in ${expected.output}</fail>--> </target> <target name="clean" description="Delete all previously compiled binaries."> <delete> <fileset> <include name="**/bin/**" /> <include name="**/obj/**" /> <include name="**/*.suo" /> <include name="**/*.user" /> </fileset> </delete> </target> <target name="build-list"> <foreach item="File" property="project.file"> <in> <items> <include name="${common-dir}\IEMCommon\IEMCommon.vcproj" /> <!--<include name="${server-dir}\IEMSvr\IEMSvr.vcproj" /> <include name="${server-dir}\image_registrar\image_registrar.vcproj" /> <include name="${common-dir}\ImageUtils\ImageUtils.vcproj" /> <include name="${common-dir}\ImageWarp\ImageWarp.vcproj" /> <include name="${common-dir}\jp2000\jp2000.vcproj" /> <include name="${common-dir}\NITF\NITF Library\NITF.csproj" /> <include name="${common-dir}\ICELib\ICELib.vcproj" /> <include name="${reachback-dir}\ReachBack.csproj" /> <include name="${client-dir}\IEMClient.csproj" /> <include name="${imageViewer-dir}\ImageViewer.csproj" /> <include name="${clientlib-dir}\IEMClasses.csproj" /> <include name="${common-dir}\GeolocationUtils\GeolocationUtils.vcproj" /> <include name="${server-dir}\IEMSvrSvc\IEMSvrSvc\IEMSvrSvc.csproj" /> <include name="${server-dir}\IEMSvrExe\IEMSvrExe\IEMSvrExe.vcproj" />--> </items> </in> <do> <call target="exec-msbuild" /> </do> </foreach> </target> <target name="exec-msbuild"> <!--<loadtasks assembly="C:/nantcontrib-0.85/bin/NAnt.Contrib.Tasks.dll" />--> <!--<msbuild project="${project.file}" target="${solution.target}" verbose="true" />--> <echo message="building ${project.file}" /> <exec program="${devenv.path}" basedir="${directory::get-parent-directory(devenv.path)}"> <arg value="${project.file}" /> <arg value="/Build" /> <arg value="${configuration}" /> <arg value="/Out" /> <arg value="c:\log.txt" /> </exec> <!--<exec program="C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbuild.exe" > <arg value="${project.file}" /> <arg value="/v:q" /> <arg value="/nologo" /> <arg value="/p:Configuration=${configuration}" /> </exec> <solution configuration="${configuration}" verbose="true" outputdir="C:\IEM\dot Net\bin"> <projects> <include name="${project.file}" /> </projects> </solution>--> </target> </project> Buildfile: file:///C:/dot Net/sample.build Target framework: Microsoft .NET Framework 2.0 Target(s) specified: build [property] Read-only property "configuration" cannot be overwritten. build: [solution] Starting solution build. [solution] Included projects: [solution] - C:\dot Net\Project1.vcproj [solution] - C:\dot Net\Project2.vcproj [solution] - C:\dot Net\Project3.vcproj [solution] - C:\dot Net\Project4.vcproj [solution] - C:\dot Net\Project5.vcproj [solution] - C:\dot Net\Project6.vcproj [solution] - C:\dot Net\Project7.csproj [solution] - C:\dot Net\Project8.vcproj [solution] - C:\dot Net\Project9.csproj [solution] - C:\dot Net\Project10.csproj BUILD FAILED- 0 non-fatal error(s), 1 warning(s) Error loading GUID of project 'C:\dot Net\Project7.csproj '. Project file 'C:\dot Net\Project7.csproj ' is not valid. There's no "ProjectGuid" attribute on the <PropertyGroup ... /> node. Total time: 0.3 seconds. Then if I try the above with project1 only i.e. <solution configuration="${configuration}" verbose="true" outputdir="${basedir}/bin" > <projects> <include name="${basedir}/project1.vcproj" /> </projects> </solution> I get the following error: [solution] Starting solution build [solution] Included projects: [solution] - C:\dot Net\project1.vcproj [solution] Loading projects... [solution] Loading project 'C:\dot Net\project1.vcproj'. BUILD FAILED Project '' is not a valid Visual C++ project. Please let me know if further information is required? ---------------------------------------------------------------------- >Comment By: Gert Driesen (drieseng) Date: 2007-11-15 15:14 Message: Logged In: YES user_id=707851 Originator: NO Deleting as requested by submitter. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1831942&group_id=31650 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers