The resgen as currently written will not support what you are trying to do. In fact using a fileset at all has bugs within resgen (the NeedsCompiling routine).
I have adjusted the resgen task, added a prepend property (to prepend the full namespace declaration (RVS.Framework) in your case), and it handles looping through multiple resources like a standard fileset.
I am currently testing it, and cleaning it up (real hackish right now, but needed a quick & dirty for my work project), but I will gladly email it if you would like. But even it has its limitations. When I get time, someday ;-), there could be an argument for a special sub class of fileset to handle resources.
Using the current resgen, if you only have the two resources you can do the following: <resgen input=”Framework.resx” output=” RVS.Framework.Framework.resources”/> <resgen input=”Framework.resx” output=”RVS.Framework.Framework.en.resources”/>
(two separate calls to the task)
JT
-----Original Message-----
This is my first shot at using Nant so be warned I could have done something really wrong.
I am trying to use the resgen task... I have attached the build file and here is the error that was output into the console... I would not doubt if I have more errors so any help would be appreciated.
C:\RVS\Framework>nant
-verbose build: INTERNAL ERROR Please send bug report
to [EMAIL PROTECTED]
thanks, scott |
Title: Message
- [nant-dev] Internal error Peter Jones
- Re: [nant-dev] Internal error Mark Hurley
- [nant-dev] Internal Error Scott Densmore
- RE: [nant-dev] Internal Error JT Perry
- RE: [nant-dev] Internal Error Scott Densmore
- [nant-dev] INTERNAL ERROR Phil Winstanley
- [nant-dev] INTERNAL ERROR Dmitriy Bezugliy
- Re: [nant-dev] INTERNAL ERROR Gert Driesen
- [nant-dev] internal error Alex Odintsov
- Re: [nant-dev] internal error Gert Driesen
- [nant-dev] Internal Error Joe Mahlong
- Re: [nant-dev] Internal Error Gert Driesen
- [nant-dev] Internal Error Lindeblom, Erik
- Re: [nant-dev] Internal Error Gert Driesen