Bugs item #1339746, was opened at 2005-10-27 11:35 Message generated for change (Comment added) made by fredwg You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1339746&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.7.749.5625 Status: Open Resolution: None Priority: 5 Submitted By: Jason Graves (godlikemouse) Assigned to: Nobody/Anonymous (nobody) Summary: Solution Task Ignoring C++ Build Order Initial Comment: When building a solution in c++, nant completely ignores the build order specified in the solution which is causing the real build to fail. The following is a sample build which will list the supposed build order with the actual details of the build with NAnt: Required Build Order: Project2 Project1 Project3 Actual Build Output: C:\>call "c:\program files\microsoft visual studio .net 2003\common7\tools\vsvars32.bat" Setting environment for using Microsoft Visual Studio .NET 2003 tools. (If you have another version of Visual Studio or Visual C++ installed and wish to use its tools from the command line, run vcvars32.bat for that version.) C:\>c:\nant\bin\nant -buildfile:test.build NAnt 0.85 (Build 0.85.2121.0; nightly; 10/22/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/test.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: build build: [solution] Starting solution build. [solution] Loading projects... [solution] Loading project 'c:\dev\Project1\Project1 \Project1.vcproj'. [solution] Loading project 'c:\dev\Project1\Propject2 \Propject2.vcproj'. [solution] Loading project 'c:\dev\Project1\Propject3 \Propject3.vcproj'. [solution] Gathering additional dependencies... [solution] Fixing up references... [solution] Building 'Project1' [Debug] ... [attrib] No matching files or directories found. [cl] 'c:\dev\Project1\Project1 \Debug\Project1.pch' does not exist, recompiling. [cl] PCH out of date, recompiling all sources. [cl] Compiling 1 files to 'c:\dev\Project1 \Project1\Debug'. [cl] Contents of C:\DOCUME~1 \jgraves\LOCALS~1\Temp\tmp1258.tmp. [cl] /c [cl] /clr [cl] /D "WIN32" [cl] /D "_DEBUG" [cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \mscorlib.dll" [cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \System.Data.dll" [cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \System.dll" [cl] /Fd"c:\dev\Project1\Project1 \Debug\vc70.pdb" [cl] /Fo"c:\dev\Project1\Project1\Debug\\" [cl] /Fp"c:\dev\Project1\Project1 \Debug\Project1.pch" [cl] /Yc"StdAfx.h" [cl] "c:\dev\Project1\Project1\stdafx.cpp" [cl] /D "_MBCS" [cl] [cl] Starting 'cl (@"C:\DOCUME~1 \jgraves\LOCALS~1 \Temp\tmp1258.tmp" /EHsc /W3 /MTd /Zi /Od /nologo)' in 'c:\dev\Project1\Project1' [cl] stdafx.cpp [cl] 'c:\dev\Project1\Project1 \Debug\AssemblyInfo.obj' does not exist, recompiling. [cl] 'c:\dev\Project1\Project1 \Debug\Project1.obj' does not exist, recompiling. [cl] Compiling 2 files to 'c:\dev\Project1 \Project1\Debug'. [cl] Contents of C:\DOCUME~1 \jgraves\LOCALS~1\Temp\tmp1259.tmp. [cl] /c [cl] /clr [cl] /D "WIN32" [cl] /D "_DEBUG" [cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \mscorlib.dll" [cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \System.Data.dll" [cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \System.dll" [cl] /Fd"c:\dev\Project1\Project1 \Debug\vc70.pdb" [cl] /Fo"c:\dev\Project1\Project1\Debug\\" [cl] /Fp"c:\dev\Project1\Project1 \Debug\Project1.pch" [cl] /Yu"StdAfx.h" [cl] "c:\dev\Project1\Project1 \AssemblyInfo.cpp" [cl] "c:\dev\Project1\Project1\Project1.cpp" [cl] /D "_MBCS" [cl] [cl] Starting 'cl (@"C:\DOCUME~1 \jgraves\LOCALS~1 \Temp\tmp1259.tmp" /EHsc /W3 /MTd /Zi /Od /nologo)' in 'c:\dev\Project1\Project1' [cl] AssemblyInfo.cpp [cl] Project1.cpp [cl] Generating Code... [rc] 'c:\dev\Project1\Project1 \Debug\app.res' does not exist, recompiling. [rc] Compiling "c:\dev\Project1\Project1 \app.rc" to "c:\dev\Project1\Project1\Debug\app.res". [rc] Starting 'rc (/v /fo"c:\dev\Project1 \Project1\Debug\app.res" "c:\dev\Project1\Project1 \app.rc" )' in 'c:\dev\Project1\Project1' [rc] Microsoft (R) Windows (R) Resource Compiler Version 5.2.3668.0 [rc] [rc] Copyright (C) Microsoft Corporation. All rights reserved. [rc] [rc] [rc] Creating c:\dev\Project1\Project1 \Debug\app.res [rc] [link] PDB file 'c:\dev\Project1 \Debug\Project1.pdb' does not exist, relinking. [link] Linking 16 files. [link] Contents of C:\DOCUME~1 \jgraves\LOCALS~1\Temp\tmp125A.tmp. [link] /OUT:"c:\dev\Project1 \Debug\Project1.exe" [link] /DEBUG [link] /PDB:"c:\dev\Project1 \Debug\Project1.pdb" [link] /nologo [link] "kernel32.lib" [link] "user32.lib" [link] "gdi32.lib" [link] "winspool.lib" [link] "comdlg32.lib" [link] "advapi32.lib" [link] "shell32.lib" [link] "ole32.lib" [link] "oleaut32.lib" [link] "uuid.lib" [link] "odbc32.lib" [link] "odbccp32.lib" [link] "c:\dev\Project1\Project1 \Debug\AssemblyInfo.obj" [link] "c:\dev\Project1\Project1 \Debug\Project1.obj" [link] "c:\dev\Project1\Project1 \Debug\stdafx.obj" [link] "c:\dev\Project1\Project1 \Debug\app.res" [link] [link] Starting 'link (@"C:\DOCUME~1 \jgraves\LOCALS~1 \Temp\tmp125A.tmp" /INCREMENTAL /ASSEMBLYDE BUG)' in 'c:\dev\Project1\Project1' [solution] Copying references: [solution] Fixing up references... [solution] Building 'Propject2' [Debug] ... [attrib] No matching files or directories found. [cl] 'c:\dev\Project1\Propject2 \Debug\Propject2.pch' does not exist, recompiling. [cl] PCH out of date, recompiling all sources. [cl] Compiling 1 files to 'c:\dev\Project1 \Propject2\Debug'. [cl] Contents of C:\DOCUME~1 \jgraves\LOCALS~1\Temp\tmp125D.tmp. [cl] /c [cl] /clr [cl] /D "WIN32" [cl] /D "_DEBUG" [cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \mscorlib.dll" [cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \System.Data.dll" [cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \System.dll" [cl] /Fd"c:\dev\Project1\Propject2 \Debug\vc70.pdb" [cl] /Fo"c:\dev\Project1\Propject2\Debug\\" [cl] /Fp"c:\dev\Project1\Propject2 \Debug\Propject2.pch" [cl] /Yc"StdAfx.h" [cl] "c:\dev\Project1\Propject2\stdafx.cpp" [cl] /D "_MBCS" [cl] [cl] Starting 'cl (@"C:\DOCUME~1 \jgraves\LOCALS~1 \Temp\tmp125D.tmp" /EHsc /W3 /MTd /Zi /Od /nologo)' in 'c:\dev\Project1\Propject2' [cl] stdafx.cpp [cl] 'c:\dev\Project1\Propject2 \Debug\AssemblyInfo.obj' does not exist, recompiling. [cl] 'c:\dev\Project1\Propject2 \Debug\Propject2.obj' does not exist, recompiling. [cl] Compiling 2 files to 'c:\dev\Project1 \Propject2\Debug'. [cl] Contents of C:\DOCUME~1 \jgraves\LOCALS~1\Temp\tmp125E.tmp. [cl] /c [cl] /clr [cl] /D "WIN32" [cl] /D "_DEBUG" [cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \mscorlib.dll" [cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \System.Data.dll" [cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \System.dll" [cl] /Fd"c:\dev\Project1\Propject2 \Debug\vc70.pdb" [cl] /Fo"c:\dev\Project1\Propject2\Debug\\" [cl] /Fp"c:\dev\Project1\Propject2 \Debug\Propject2.pch" [cl] /Yu"StdAfx.h" [cl] "c:\dev\Project1\Propject2 \AssemblyInfo.cpp" [cl] "c:\dev\Project1\Propject2 \Propject2.cpp" [cl] /D "_MBCS" [cl] [cl] Starting 'cl (@"C:\DOCUME~1 \jgraves\LOCALS~1 \Temp\tmp125E.tmp" /EHsc /W3 /MTd /Zi /Od /nologo)' in 'c:\dev\Project1\Propject2' [cl] AssemblyInfo.cpp [cl] Propject2.cpp [cl] Generating Code... [rc] 'c:\dev\Project1\Propject2 \Debug\app.res' does not exist, recompiling. [rc] Compiling "c:\dev\Project1\Propject2 \app.rc" to "c:\dev\Project1\Propject2\Debug\app.res". [rc] Starting 'rc (/v /fo"c:\dev\Project1 \Propject2\Debug\app.res" "c:\dev\Project1\Propject2 \app.rc" )' in 'c:\dev\Project1\Propject2' [rc] Microsoft (R) Windows (R) Resource Compiler Version 5.2.3668.0 [rc] [rc] Copyright (C) Microsoft Corporation. All rights reserved. [rc] [rc] [rc] Creating c:\dev\Project1\Propject2 \Debug\app.res [rc] [link] PDB file 'c:\dev\Project1 \Debug\Propject2.pdb' does not exist, relinking. [link] Linking 16 files. [link] Contents of C:\DOCUME~1 \jgraves\LOCALS~1\Temp\tmp125F.tmp. [link] /OUT:"c:\dev\Project1 \Debug\Propject2.exe" [link] /DEBUG [link] /PDB:"c:\dev\Project1 \Debug\Propject2.pdb" [link] /nologo [link] "kernel32.lib" [link] "user32.lib" [link] "gdi32.lib" [link] "winspool.lib" [link] "comdlg32.lib" [link] "advapi32.lib" [link] "shell32.lib" [link] "ole32.lib" [link] "oleaut32.lib" [link] "uuid.lib" [link] "odbc32.lib" [link] "odbccp32.lib" [link] "c:\dev\Project1\Propject2 \Debug\AssemblyInfo.obj" [link] "c:\dev\Project1\Propject2 \Debug\Propject2.obj" [link] "c:\dev\Project1\Propject2 \Debug\stdafx.obj" [link] "c:\dev\Project1\Propject2 \Debug\app.res" [link] [link] Starting 'link (@"C:\DOCUME~1 \jgraves\LOCALS~1 \Temp\tmp125F.tmp" /INCREMENTAL /ASSEMBLYDEB UG)' in 'c:\dev\Project1\Propject2' [solution] Copying references: [solution] Fixing up references... [solution] Building 'Propject3' [Debug] ... [attrib] No matching files or directories found. [cl] 'c:\dev\Project1\Propject3 \Debug\Propject3.pch' does not exist, recompiling. [cl] PCH out of date, recompiling all sources. [cl] Compiling 1 files to 'c:\dev\Project1 \Propject3\Debug'. [cl] Contents of C:\DOCUME~1 \jgraves\LOCALS~1\Temp\tmp1262.tmp. [cl] /c [cl] /clr [cl] /D "WIN32" [cl] /D "_DEBUG" [cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \mscorlib.dll" [cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \System.Data.dll" [cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \System.dll" [cl] /Fd"c:\dev\Project1\Propject3 \Debug\vc70.pdb" [cl] /Fo"c:\dev\Project1\Propject3\Debug\\" [cl] /Fp"c:\dev\Project1\Propject3 \Debug\Propject3.pch" [cl] /Yc"StdAfx.h" [cl] "c:\dev\Project1\Propject3\stdafx.cpp" [cl] /D "_MBCS" [cl] [cl] Starting 'cl (@"C:\DOCUME~1 \jgraves\LOCALS~1 \Temp\tmp1262.tmp" /EHsc /W3 /MTd /Zi /Od /nologo)' in 'c:\dev\Project1\Propject3' [cl] stdafx.cpp [cl] 'c:\dev\Project1\Propject3 \Debug\AssemblyInfo.obj' does not exist, recompiling. [cl] 'c:\dev\Project1\Propject3 \Debug\Propject3.obj' does not exist, recompiling. [cl] Compiling 2 files to 'c:\dev\Project1 \Propject3\Debug'. [cl] Contents of C:\DOCUME~1 \jgraves\LOCALS~1\Temp\tmp1263.tmp. [cl] /c [cl] /clr [cl] /D "WIN32" [cl] /D "_DEBUG" [cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \mscorlib.dll" [cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \System.Data.dll" [cl] /FU "C:\WINNT\Microsoft.NET\Framework\v1.1.4322 \System.dll" [cl] /Fd"c:\dev\Project1\Propject3 \Debug\vc70.pdb" [cl] /Fo"c:\dev\Project1\Propject3\Debug\\" [cl] /Fp"c:\dev\Project1\Propject3 \Debug\Propject3.pch" [cl] /Yu"StdAfx.h" [cl] "c:\dev\Project1\Propject3 \AssemblyInfo.cpp" [cl] "c:\dev\Project1\Propject3 \Propject3.cpp" [cl] /D "_MBCS" [cl] [cl] Starting 'cl (@"C:\DOCUME~1 \jgraves\LOCALS~1 \Temp\tmp1263.tmp" /EHsc /W3 /MTd /Zi /Od /nologo)' in 'c:\dev\Project1\Propject3' [cl] AssemblyInfo.cpp [cl] Propject3.cpp [cl] Generating Code... [rc] 'c:\dev\Project1\Propject3 \Debug\app.res' does not exist, recompiling. [rc] Compiling "c:\dev\Project1\Propject3 \app.rc" to "c:\dev\Project1\Propject3\Debug\app.res". [rc] Starting 'rc (/v /fo"c:\dev\Project1 \Propject3\Debug\app.res" "c:\dev\Project1\Propject3 \app.rc" )' in 'c:\dev\Project1\Propject3' [rc] Microsoft (R) Windows (R) Resource Compiler Version 5.2.3668.0 [rc] [rc] Copyright (C) Microsoft Corporation. All rights reserved. [rc] [rc] [rc] Creating c:\dev\Project1\Propject3 \Debug\app.res [rc] [link] PDB file 'c:\dev\Project1 \Debug\Propject3.pdb' does not exist, relinking. [link] Linking 16 files. [link] Contents of C:\DOCUME~1 \jgraves\LOCALS~1\Temp\tmp1264.tmp. [link] /OUT:"c:\dev\Project1 \Debug\Propject3.exe" [link] /DEBUG [link] /PDB:"c:\dev\Project1 \Debug\Propject3.pdb" [link] /nologo [link] "kernel32.lib" [link] "user32.lib" [link] "gdi32.lib" [link] "winspool.lib" [link] "comdlg32.lib" [link] "advapi32.lib" [link] "shell32.lib" [link] "ole32.lib" [link] "oleaut32.lib" [link] "uuid.lib" [link] "odbc32.lib" [link] "odbccp32.lib" [link] "c:\dev\Project1\Propject3 \Debug\AssemblyInfo.obj" [link] "c:\dev\Project1\Propject3 \Debug\Propject3.obj" [link] "c:\dev\Project1\Propject3 \Debug\stdafx.obj" [link] "c:\dev\Project1\Propject3 \Debug\app.res" [link] [link] Starting 'link (@"C:\DOCUME~1 \jgraves\LOCALS~1 \Temp\tmp1264.tmp" /INCREMENTAL /ASSEMBLYDEB UG)' in 'c:\dev\Project1\Propject3' [solution] Copying references: BUILD SUCCEEDED Total time: 4.5 seconds. ---------------------------------------------------------------------- Comment By: fredwg (fredwg) Date: 2006-01-09 11:52 Message: Logged In: YES user_id=1408442 Workaround, is to use build the solution from the command line using the <exec> task. The build order within the solution will be honored. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1339746&group_id=31650 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers