Not sure if anyone else has seen this problem, but when building
nant-0.85-rc3 from source on windows with nmake I got the following
exception about halfway through the build:

        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".
 
I was able to build NAnt successfully by playing around with Makefile.nmake a
bit:

--- orig/nant-0.85-rc3/Makefile.nmake        2005-03-25 23:55:54.000000000 -0500
+++ nant-0.85-rc3/Makefile.nmake             2005-05-05 12:22:38.000000000 -0400
@@ -40,7 +40,8 @@
        $(CSC) -target:library -warn:0 -define:$(DEFINE) 
-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

 bootstrap\NAnt.DotNetTasks.dll:
-       $(CSC) -target:library -warn:0 -define:$(DEFINE) 
-out:bootstrap\NAnt.DotNetTasks.dll -r:bootstrap\NAnt.Core.dll 
-r:bootstrap\lib\$(FRAMEWORK_DIR)\1.0\NDoc.Core.dll 
-recurse:src\NAnt.DotNet\*.cs src\CommonAssemblyInfo.cs
+       $(RESGEN)  src\NAnt.DotNet\Resources\Strings.resx 
bootstrap\Strings.resources
+       $(CSC) -target:library -warn:0 -define:$(DEFINE) 
-out:bootstrap\NAnt.DotNetTasks.dll -r:bootstrap\NAnt.Core.dll 
-r:bootstrap\lib\$(FRAMEWORK_DIR)\1.0\NDoc.Core.dll 
-resource:bootstrap\Strings.resources -recurse:src\NAnt.DotNet\*.cs 
src\CommonAssemblyInfo.cs

 bootstrap\NAnt.CompressionTasks.dll:
        $(CSC) -target:library -warn:0 -define:$(DEFINE) 
-out:bootstrap\NAnt.CompressionTasks.dll -r:bootstrap\NAnt.Core.dll \


Oh, one other thing, the README suggests using prefix="c:\Program Files", but
backslashes don't seem to work. Try prefix="c:/Program Files"


Nolan

Attachment: signature.asc
Description: Digital signature

Reply via email to