Steven,

You could either using the <solution> task, and pass in the solution file or
individual projects that you want to build.

Or you can use the individual compiler tasks, eg. :

<csc>
     ....
    <resources dynamixprefix="true" prefix="<root namespace of your
project>">
        <include name="**/*.resx" />
    </resources>
</csc>

Note : the dynamicprefix and prefix attribute need to be set in order to
ensure the compiler tasks generate manifest resource names that match those
generated by VS.NET.

Hope this helps,

Gert

PS. The <slingshot> task is very much deprecated.

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 02, 2004 8:18 AM
Subject: [Nant-users] Resource Files


Hi,

I would appreciate some advise on the use of Resource files with NAnt.

I have a windows application which has a number of resource
files associated with it.  The build type for these files is "Content".
What should I include in the csc Resources so that these files
are accessed correctly by my application.   Currently it complains that
it cannot find the associated resource file.

My second issue is with the "resx" file as created by Visual Studio.  When
should these files be incuded in the build script and when not and when
should
these files be converted using the ResGen task.   The reason I ask is ,  I
tried
to use the slingshot task to see how it handled the resource file issues and
it
converted all the Resx files using the ResGen task.

If I must use ResGen.exe, what should I do with the generated output files?

Thanks in advance for the help

Kind regards

Steve

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to