This works for me:

        <csc target="winexe" output="${sooda.dir}/SoodaQuery.exe"
debug="${sooda.debug}" define="${sooda.define}"
win32icon="src/Tools/SoodaQuery/app.ico">
            <references>
                <includes name="${sooda.dir}/Sooda.dll" />
                <includes
name="${sooda.external}/ICSharpCode.TextEditor.dll" />
            </references>
            <sources basedir="src/Tools/SoodaQuery">
                <includes name="*.cs" />
            </sources>
            <resources basedir="src/Tools/SoodaQuery" prefix="SoodaQuery"
dynamicprefix="true">
                <includes name="MainForm.resx" />
                <includes name="*.xshd" />
                <includes name="SyntaxModes.xml" />
            </resources>
        </csc>

*.resx resources are handled without problems here. Please check your paths
and/or run NAnt in debug mode.

Hope it helps.

Jarek

----- Original Message ----- 
From: "Craig Williams" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 10, 2004 9:27 PM
Subject: [Nant-users] resx files and form resources


What is the recommended method for handling resources using NAnt ?

If I have a VS built form with a resx file, it gets ignored and the
resources don't get compiled into the assembly.

or did I miss something ;)?

thanks

Craig



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to