Jeremy Veeder wrote:

What could be the problem with the installation?

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".

This is a bug in the Makefile.nmake for the last release candidate. It's fixed in the CVS version, but essentially, the makefile doesn't embed the resources into NAnt.DotNetTasks the way it does for the other assemblies.

You can either get the latest nightly sources, or edit the Makefile.nmake file and replace:

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

with:

bootstrap\NAnt.DotNetTasks.dll:
        $(RESGEN)  src\NAnt.DotNet\Resources\Strings.resx \
                bootstrap\NAnt.DotNet.Resources.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\NAnt.DotNet.Resources.Strings.resources \
                -recurse:src\NAnt.DotNet\*.cs \
                src\CommonAssemblyInfo.cs

(watch the wrapping ... the line starting with -resource should be indented 2 tab stops and there shouldn't be any blank lines in there.)

--Mike



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to