Title: RE: [nant-dev] Novice C# Resource Troubles ?

Hi Shawn,
You can check if nant has found some resource by browsing your source code directory,
Nant automagically generate .resource file for each .rsx found in your  <includes name="*.resx"/> but does not delete them afterwards.

I see also that your includes for the <sources> fileset grab the following directory
*.cs
.\Configuration\*.cs
.\Diagnostics\*.cs
.\IO\*.cs

Maybe your includes for the resources should look like this ?

     
             <resources>
                        <includes name="*.resx"/>
                        <includes name=".\Configuration\*.resx"/>
                        <includes name=".\Diagnostics\*.resx"/>
                        <includes name=".\IO\*.resx"/>
              </resources




Yves

> -----Original Message-----
> From: Shawn Parslow [mailto:[EMAIL PROTECTED]]
> Sent: 14 January 2003 18:42
> To: [EMAIL PROTECTED]
> Subject: [nant-dev] Novice C# Resource Troubles ?
>
>
> Hey folks,
>
> I am new to NAnt and am trying to build a simple independent
> C# dll project. Here is my lnl.build file so far, it work but
> the compiled file seems to be missing the resource
> information in my .resx file?
>
> <?xml version="1.0"?>
> <project name="Lnl" default="build" basedir=".">
>     <property name="release" value="true"/>
>     <target name="clean" description="remove all generated files">
>         <delete file="../release/Lnl.dll" failonerror="false"/>
>     </target>
>     <target name="build" description="compiles the source code">  
>         <csc target="module" output="../release/lnl.dll"
> release="${release}">
>             <sources>
>                       <includes name="*.cs"/>
>                       <includes name=".\Configuration\*.cs"/>
>                       <includes name=".\Diagnostics\*.cs"/>
>                       <includes name=".\IO\*.cs"/>
>             </sources>
>             <resources>
>                       <includes name="*.resx"/>
>             </resources>
>         </csc>
>     </target>
> </project>
>
>
> ***************************
> The information contained in this e-mail and any files
> transmitted with it may be confidential, is intended only for
> the use of the recipient named above, and may be privileged. 
> If the reader of this message is not the intended recipient,
> you are hereby notified that any dissemination, distribution,
> or copying of this communication, or any of its contents, is
> strictly prohibited. If you have received this communication
> in error, please notify the sender immediately by e-mail and
> delete the original message and any copy of it from your
> computer system.  Thank you.
> ***************************
>
>
>
> -------------------------------------------------------
> This SF.NET email is sponsored by: FREE  SSL Guide from
> Thawte are you planning your Web Server Security? Click here
> to get a FREE Thawte SSL guide and find the answers to all
> your  SSL security issues.
> http://ads.sourceforge.net/cgi-> bin/redirect.pl?thaw0026en
>
>
> _______________________________________________
> Nant-developers mailing list [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-developers
>

Reply via email to