I received the following error when attemping to build nAnt. I am
using the DotNet Framework 2 and SDK.
[nant]
D:\Downloads\nAnt\nant-0.85-rc3\src\NAnt.Core\NAnt.Core.build build
Buildfile:
file:///D:/Downloads/nAnt/nant-0.85-rc3/src/NAnt.Core/NAnt.Core.build
Target framework: Microsoft .NET Framework 1.0
Target(s) specified: build
build:
BUILD FAILED
INTERNAL ERROR
System.Resources.MissingManifestResourceException: Could
not find any resources appropriate for the specified culture (or the
neutral culture) in the given assembly. Make sure "Strings.resources"
was correctly embedded or linked into assembly "NAnt.DotNetTasks".
baseName: Strings locationInfo: <null> resource
file name: Strings.resources assembly: NAnt.DotNetTasks,
Version=0.85.1932.0, Culture=neutral, PublicKeyToken=null
at
System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
culture, Boolean createIfNotExists, Boolean tryParents)
at
System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
culture, Boolean createIfNotExists, Boolean tryParents)
at
System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
culture, Boolean createIfNotExists, Boolean tryParents)
at System.Resources.ResourceManager.GetString(String
name, CultureInfo culture)
at NAnt.Core.Util.ResourceUtils.GetString(String name,
CultureInfo culture, Assembly assembly)
at NAnt.Core.Util.ResourceUtils.GetString(String name)
at NAnt.DotNet.Tasks.CscTask.NeedsCompiling()
at NAnt.DotNet.Tasks.CompilerBase.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName, Boolean
forceDependencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
Please send bug report to
nant-developers@lists.sourceforge.net.
The entire build output is as follows.
D:\Downloads\nAnt\nant-0.85-rc3>nmake
-f Makefile.nmake install prefix="c:\Program Files"
Microsoft (R) Program Maintenance Utility Version 7.00.9466
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.
csc -target:exe -define:NET -out:bootstrap\NAnt.exe
-r:bootstrap\log4net.dll -recurse:src\NAnt.Console\*.cs
src\CommonAssemblyInfo.cs
Microsoft (R) Visual C# .NET Compiler version 7.00.9466
for Microsoft (R) .NET Framework version 1.0.3705
Copyright (C) Microsoft Corporation 2001. All rights reserved.
resgen src\NAnt.Core\Resources\Strings.resx
bootstrap\Strings.resources
Read in 181 resources from 'src\NAnt.Core\Resources\Strings.resx'
Writing resource file... Done.
csc -target:library -warn:0 -define:NET
-out:bootstrap\NAnt.Core.dll -r:bootstrap\log4net.dll -r:System.Web.dll
-resource:bootstrap\Strings.resources -recurse:src\NAnt.Core\*.cs
src\CommonAssemblyInfo.cs
Microsoft (R) Visual C# .NET Compiler version 7.00.9466
for Microsoft (R) .NET Framework version 1.0.3705
Copyright (C) Microsoft Corporation 2001. All rights reserved.
csc -target:library -warn:0 -define:NET
-out:bootstrap\NAnt.DotNetTasks.dll -r:bootstrap\NAnt.Core.dll
-r:bootstrap\lib\net\1.0\NDoc.Core.dll -recurse:src\NAnt.DotNet\*.cs
src\CommonAssemblyInfo.cs
Microsoft (R) Visual C# .NET Compiler version 7.00.9466
for Microsoft (R) .NET Framework version 1.0.3705
Copyright (C) Microsoft Corporation 2001. All rights reserved.
csc -target:library -warn:0 -define:NET
-out:bootstrap\NAnt.CompressionTasks.dll -r:bootstrap\NAnt.Core.dll
-r:bootstrap\lib\ICSharpCode.SharpZipLib.dll
-recurse:src\NAnt.Compression\*.cs src\CommonAssemblyInfo.cs
Microsoft (R) Visual C# .NET Compiler version 7.00.9466
for Microsoft (R) .NET Framework version 1.0.3705
Copyright (C) Microsoft Corporation 2001. All rights reserved.
csc -target:library -warn:0 -define:NET
-out:bootstrap\NAnt.Win32Tasks.dll -r:bootstrap\NAnt.Core.dll
-r:bootstrap\NAnt.DotNetTasks.dll -r:System.ServiceProcess.dll
-r:Microsoft.JScript.dll -recurse:src\NAnt.Win32\*.cs
src\CommonAssemblyInfo.cs
Microsoft (R) Visual C# .NET Compiler version 7.00.9466
for Microsoft (R) .NET Framework version 1.0.3705
Copyright (C) Microsoft Corporation 2001. All rights reserved.
bootstrap\NAnt.exe -f:NAnt.build install
-D:install.prefix="c:\Program Files"
NAnt 0.85 (Build 0.85.1932.0; rc3; 4/16/2005)
Copyright (C) 2001-2005 Gerry Shaw
http://nant.sourceforge.net
Buildfile: file:///D:/Downloads/nAnt/nant-0.85-rc3/NAnt.build
Target framework: Microsoft .NET Framework 1.0
Target(s) specified: install
[tstamp] Wednesday, August 17, 2005 8:49:41 PM.
init:
debug:
set-framework-configuration:
set-net-1.0-framework-configuration:
build:
[echo] Build Directory is
D:\Downloads\nAnt\nant-0.85-rc3/build/net-1.0.win32/nant-0.85-debug
[mkdir] Creating directory
'D:\Downloads\nAnt\nant-0.85-rc3\build\net-1.0.win32\nant-0.85-debug\bin'.
[mkdir] Creating directory
'D:\Downloads\nAnt\nant-0.85-rc3\build\net-1.0.win32\nant-0.85-debug\bin\lib'.
[copy] Copying 2 files to
'D:\Downloads\nAnt\nant-0.85-rc3\build\net-1.0.win32\nant-0.85-debug\bin'.
[copy] Copying 34 files to
'D:\Downloads\nAnt\nant-0.85-rc3\build\net-1.0.win32\nant-0.85-debug\bin\lib'.
[nant]
D:\Downloads\nAnt\nant-0.85-rc3\src\NAnt.Core\NAnt.Core.build build
Buildfile:
file:///D:/Downloads/nAnt/nant-0.85-rc3/src/NAnt.Core/NAnt.Core.build
Target framework: Microsoft .NET Framework 1.0
Target(s) specified: build
build:
BUILD FAILED
INTERNAL ERROR
System.Resources.MissingManifestResourceException:
Could not find any resources appropriate for the specified culture (or
the neutral culture) in the given assembly. Make sure
"Strings.resources" was correctly embedded or linked into assembly
"NAnt.DotNetTasks".
baseName: Strings locationInfo: <null>
resource file name: Strings.resources assembly: NAnt.DotNetTasks,
Version=0.85.1932.0, Culture=neutral, PublicKeyToken=null
at
System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
culture, Boolean createIfNotExists, Boolean tryParents)
at
System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
culture, Boolean createIfNotExists, Boolean tryParents)
at
System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo
culture, Boolean createIfNotExists, Boolean tryParents)
at
System.Resources.ResourceManager.GetString(String name, CultureInfo
culture)
at NAnt.Core.Util.ResourceUtils.GetString(String
name, CultureInfo culture, Assembly assembly)
at NAnt.Core.Util.ResourceUtils.GetString(String
name)
at NAnt.DotNet.Tasks.CscTask.NeedsCompiling()
at NAnt.DotNet.Tasks.CompilerBase.ExecuteTask()
at NAnt.Core.Task.Execute()
at NAnt.Core.Target.Execute()
at NAnt.Core.Project.Execute(String targetName,
Boolean forceDependencies)
at NAnt.Core.Project.Execute()
at NAnt.Core.Project.Run()
Please send bug report to
nant-developers@lists.sourceforge.net.
Total time: 0.2 seconds.
BUILD FAILED
Nested build failed. Refer to build log for exact reason.
Total time: 1.7 seconds.
NMAKE : fatal error U1077: 'bootstrap\NAnt.exe' : return code
'0x1'
Stop.
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers
|