Hi All,

I'm newbie and trying to write a Nant script for our project which is on VB.Net 2005. The problems are with trying to come up with the sattelite assemblies for my resources (resx). I use the <resgen> / <resources> tasks but they only  create .resource files rather than  get me a resource dll.  I also  went thru the thread http://www.mail-archive.com/nant-users@lists.sourceforge.net/msg08332.html
from Paul but couldn't find an answer there.

Any help is very much appreciated as I'm  finding my feet yet and could be doing something very studid.

Thanks
Creed.

Here's the current script

<project name="Nant Build Test" default="build" basedir=".">
        <description>The testing of Nant builds.</description>
        <property name="debug" value="true" overwrite="false" />
        <property name="confmode" value="debug"/>
        <property name="project" value="BuildAuto2"/>
        
        <target name="clean" description="remove all generated files">
            <delete failonerror="true">
                 <fileset>
                     <include name="**/${project}/${project}/bin/**" />
                     <include name="**/${project}/${project}/obj/**" />
                 </fileset>
             </delete>
        </target>
 
    <target name="build" description="compiles the source code">
            <vbc target="winexe" output="${project}/bin/${confmode}/${project}.exe" debug="${debug}" rootnamespace="${project}" verbose="true" failonerror="true">
               
                <sources>
                        <include name="**/*.vb"/>
                </sources>
            </vbc>
            
             
                <resgen todir=".">
                    <resources prefix="${project}" dynamicprefix="false">
                            <include name="**/*.resx" />
                     </resources>
                </resgen>
        </target>
        
</project>
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to