Martin,

ResourceFileSet is used by Compiler base and the prefix is the preifx that is used when the resource is embedded into the target assembly.

However you are right it would be useful to do somthing similar for resgen. Let me tak a look at it.

Ian


I need to generate .resources-files from a directory with .resx-files
So I use the task:

<resgen>
        <resources>
                <includes name="mydir\*.resx">
        </resources>
</resgen>

This generates the files just fine, but I need to prefix them with the namespace, like VS.NET does. Meaning

"MyForm.resources" has to be "MyCompany.MyApp.MyForm.resources"

I looked at the nant src code, the ResgenTask has a FileSet property, but there is a ResourceFileSet class in the src which has a Prefix
property.


Am I doing something wrong or is this a bug?

Thanks, Martin



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to