Bugs item #2535246, was opened at 2009-01-25 12:29
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: None
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>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=2535246&group_id=31650
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
nant-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-developers