Bugs item #2535246, was opened at 2009-01-25 12:29 Message generated for change (Comment added) made by drieseng You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2535246&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: Core Group: 0.85 Status: Open >Resolution: Fixed Priority: 5 Private: No Submitted By: Jeroen W. Pluimers (jeroenp) Assigned to: Nobody/Anonymous (nobody) Summary: NAnt 0.85 src does not build with only VS2008 installed Initial Comment: On Windows XP SP3 EN with only Visual Studio 2008 installed, and the downloaded NAnt 0.85 source tree, the build does not succeed. It fails when building the core. Steps to reproduce: 1. Have a machine with Windows XP SP3 EN and Visual Studio 2008 3. Download NAnt 0.85 src 4. Recursively unzip the NAnt 0.85 4. Start a Visual Studio 2008 command prompt 5. Run this command in the nant-0.85 subdirectory: nmake -f Makefile.nmake install prefix="%ProgramFiles%" Expected: successfull build Actual: failed build (with message "The SDK for the 'net-2.0' framework is not available or not configured.") Rationale: Given the Visual Studio 2008 installation, a separate installation of the .NET 2.0 SDK should not be needed. Build results: C:\install\NAnt.installs\ufpr.dl.sourceforge.net\sourceforge\nant\nant-0.85-src\nant-0.85>nmake -f Makefile.nmake instal l prefix="%ProgramFiles%" Microsoft (R) Program Maintenance Utility Version 9.00.30729.01 Copyright (C) Microsoft Corporation. All rights reserved. if not exist bootstrap md bootstrap if not exist bootstrap\lib md bootstrap\lib xcopy lib bootstrap\lib /S /Y /Q 36 File(s) copied copy lib\log4net.dll bootstrap 1 file(s) copied. copy src\NAnt.Console\App.config bootstrap\NAnt.exe.config 1 file(s) copied. bootstrap\NAnt.exe -f:NAnt.build install -D:install.prefix="C:\Program Files" NAnt 0.85 (Build 0.85.2478.0; release; 10/14/2006) Copyright (C) 2001-2006 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/install/NAnt.installs/ufpr.dl.sourceforge.net/sourceforge/nant/nant-0.85-src/nant-0.85/NAnt.build Target framework: Microsoft .NET Framework 2.0 Target(s) specified: install [tstamp] Sunday, January 25, 2009 11:54:39 AM. init: debug: set-framework-configuration: set-net-2.0-framework-configuration: build: [echo] Build Directory is C:\install\NAnt.installs\ufpr.dl.sourceforge.net\sourceforge\nant\nant-0.85-src\nant-0.85 /build/net-2.0.win32/nant-0.85-debug [nant] C:\install\NAnt.installs\ufpr.dl.sourceforge.net\sourceforge\nant\nant-0.85-src\nant-0.85\src\NAnt.Core\NAnt .Core.build build Buildfile: file:///C:/install/NAnt.installs/ufpr.dl.sourceforge.net/sourceforge/nant/nant-0.85-src/nant-0.85 /src/NAnt.Core/NAnt.Core.build Target framework: Microsoft .NET Framework 2.0 Target(s) specified: build build: [csc] Compiling 154 files to 'C:\install\NAnt.installs\ufpr.dl.sourceforge.net\sourceforge\nant\nant-0 .85-src\nant-0.85\build\net-2.0.win32\nant-0.85-debug\bin\NAnt.Core.dll'. BUILD FAILED The SDK for the 'net-2.0' framework is not available or not configured. Total time: 0.3 seconds. BUILD FAILED Nested build failed. Refer to build log for exact reason. Total time: 0.6 seconds. NMAKE : fatal error U1077: 'bootstrap\NAnt.exe' : return code '0x1' Stop. C:\install\NAnt.installs\ufpr.dl.sourceforge.net\sourceforge\nant\nant-0.85-src\nant-0.85> ---------------------------------------------------------------------- >Comment By: Gert Driesen (drieseng) Date: 2009-05-10 16:00 Message: NAnt requires either the corresponding .NET Framework SDK (or Windows SDK) to be installed when targeting a given framework. Nant 0.85 did not support targeting .NET Framework 3.5, and did not support the SDK version that is installed by VS 2008. Can you try using a recent nightly build of NAnt and report back? The latest nightly build can be found here: http://nant.sourceforge.net/nightly/latest/ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2535246&group_id=31650 ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ nant-developers mailing list nant-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-developers