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 On Fri, 25 Mar 2005 06:46:03 +0100, Gert Driesen <[EMAIL PROTECTED]> wrote: > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > jeetu mahtani > > Sent: vrijdag 25 maart 2005 1:53 > > To: nant-users@lists.sourceforge.net > > Subject: [Nant-users] Issue with compiling resource files > > > > I have a resource files wsresource.resx that I created in VS.NET 2003. > > To my understanding, VS.NET automatically compiles resx files to > > .resource and then links it to the assembly. > > The <solution> task will take care of that for you (if that resource file is > included in the VS.NET projects). > > 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