[nant-dev] Error while building Nant.
Title: Error while building Nant. Hello Everybody, I was trying to build Nant on my personal laptop with Windows XP home edition with all latest service packs. My build would fail with the following error. Any ideas? D:\src\NAntContrib\NAntContribInstall.include(111,10): Unable to build Installer database 'NAnt.msi'. COM object with CLSID {F94985D5-29F9-4743-9805-99BC3F35B678} is either not valid or not registered. Here are last couple of tasks that got executed before failing. nant.src.msm: [msm] Building Installer Database 'nant.src.msm'. [msm] Compressing Files... [msm] Saving Installer Database... nant.mergemodules: nantcontrib.bin.msm: [msm] Building Installer Database 'nantcontrib.bin.msm'. [msm] Compressing Files... [msm] Saving Installer Database... nantcontrib.doc.msm: [msm] Building Installer Database 'nantcontrib.doc.msm'. [msm] Compressing Files... [msm] Saving Installer Database... nantcontrib.src.msm: [msm] Building Installer Database 'nantcontrib.src.msm'. [msm] Compressing Files... [msm] Saving Installer Database... nantcontrib.mergemodules: msi: [msi] Building Installer Database 'NAnt.msi'. BUILD FAILED D:\src\NAntContrib\NAntContribInstall.include(111,10): Unable to build Installer database 'NAnt.msi'. COM object with CLSID {F94985D5-29F9-4743-9805-99BC3F35B678} is either not valid or not registered. Total time: 1034.1 seconds. Thank you all Regards, Murali k Maddali. UAI, Inc. Office (256) 705-5191 Men occasionally stumble over the truth, but most of them pick themselves up and hurry off as if nothing ever happened. -Sir Winston Churchill -This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.
[nant-dev] Error on building nant
Using: nmake -f Makefile.nmake install prefix=c:\Program Files On: OS: Windows XP Professional SP 2 .NET Framework v. version 1.1.4322.573 In the Visual Studio .NET 2003 command Prompt Output: 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.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. 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.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. 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.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. 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.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. 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.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. 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; 16/04/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/NANT-0~1.85-/NAnt.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: install [tstamp] maandag 2 mei 2005 15:23:43. init: debug: set-framework-configuration: set-net-1.1-framework-configuration: build: [echo] Build Directory is C:\NANT-0~1.85-/build/net-1.1.win32/nant-0.85-debug [mkdir] Creating directory 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin'. [mkdir] Creating directory 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin\lib'. [copy] Copying 2 files to 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin'. [copy] Copying 34 files to 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin\lib'. [nant] C:\NANT-0~1.85-\src\NAnt.Core\NAnt.Core.build build Buildfile: file:///C:/NANT-0~1.85-/src/NAnt.Core/NAnt.Core.build Target framework: Microsoft .NET Framework 1.1 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)
RE: [nant-dev] Error on building nant
Brecht, This has since been fixed (in cvs). Thanks for the report ! Gert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brecht Yperman Sent: maandag 2 mei 2005 15:30 To: nant-developers@lists.sourceforge.net Subject: [nant-dev] Error on building nant Using: nmake -f Makefile.nmake install prefix=c:\Program Files On: OS: Windows XP Professional SP 2 .NET Framework v. version 1.1.4322.573 In the Visual Studio .NET 2003 command Prompt Output: 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.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. 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.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. 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.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. 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.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. 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.10.6001.4 for Microsoft (R) .NET Framework version 1.1.4322 Copyright (C) Microsoft Corporation 2001-2002. 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; 16/04/2005) Copyright (C) 2001-2005 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///C:/NANT-0~1.85-/NAnt.build Target framework: Microsoft .NET Framework 1.1 Target(s) specified: install [tstamp] maandag 2 mei 2005 15:23:43. init: debug: set-framework-configuration: set-net-1.1-framework-configuration: build: [echo] Build Directory is C:\NANT-0~1.85-/build/net-1.1.win32/nant-0.85-debug [mkdir] Creating directory 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin'. [mkdir] Creating directory 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin\lib'. [copy] Copying 2 files to 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin'. [copy] Copying 34 files to 'C:\NANT-0~1.85-\build\net-1.1.win32\nant-0.85-debug\bin\lib'. [nant] C:\NANT-0~1.85-\src\NAnt.Core\NAnt.Core.build build Buildfile: file:///C:/NANT-0~1.85-/src/NAnt.Core/NAnt.Core.build Target framework: Microsoft .NET Framework 1.1 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