Gert,
Thanks. I used ildasm.exe and saw that the manifest for the resource
file differered between what vs.net generated and the auto-build.
VS.Net had it as ws.wsresource.resources.
whereas the autobuild had an additional resources (after the assembly
name) - ws.resources.wsresource.resources

Any ideas on why the difference? If not that is ok and will look into
further when I get some time. Thanks.




On Sat, 26 Mar 2005 07:41:33 +0100, Gert Driesen
<[EMAIL PROTECTED]> wrote:
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of
> > jeetu mahtani
> > Sent: zaterdag 26 maart 2005 1:42
> > To: Gert Driesen
> > Cc: nant-users@lists.sourceforge.net
> > Subject: Re: [Nant-users] Issue with compiling resource files
> >
> > Thanks Gert.
> >
> > Well, I tried it and see the results of the build (snippet) to be
> > something like:
> > [solution]  - C:\WINDOWS\TEMP\tmp1AFA.tmp\resources\wsresource.resx
> >                [resgen] Starting 'C:\Program
> > Files\Microsoft.NET\SDK\v1.1\bin\resgen.exe
> > ("C:\WINDOWS\TEMP\tmp1AFA.tmp\resources\wsresource.resx"
> > "C:\WINDOWS\TEMP\7fhbw_bs\ws.resources.wsresource.resources")' in
> > 'C:\WINDOWS\TEMP\tmp1AFA.tmp'
> >                         Read in 96 resources from
> > 'C:\WINDOWS\TEMP\tmp1AFA.tmp\resources\wsresource.resx'
> >                         Writing resource file...  Done.
> >
> >
> > So I know the resource file is getting created and assuming the
> > solution task takes care of the linking. Trying it on a page where the
> > resources are accessed, I end up with an exception like:
> >
> > Message: Could not find any resources appropriate for the specified
> > culture (or the neutral culture) in the given assembly. Make sure
> > "ws.wsresource.resources" was correctly embedded or linked into
> > assembly "ws". baseName: ws.wsresource locationInfo: resource file
> > name: ws.wsresource.resources assembly: ws, Version=1.0.1910.35498,
> > Culture=neutral, PublicKeyToken=null
> 
> We might be embedded the resource with the wrong manifest resource name.
> 
> Can you send me a small repro for this issue?
> 
> Thanks !
> 
> Gert
> 
>


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to