Building Embedded Resource Files with .xml, .jpg or .png extension

Sep 8, 2009 at 2:45 PM

Hi,

we have embedded resource files with .xml, .jpg and .png extensions. Building with VisualStudio works fine but bilding with NPanday executes ResGen which tells us that ...

[ERROR] ResGen : error RG0000: The file named "Path...\CustomField.hbm.xml" does not have a known extension.  Managed resource files must end in .ResX, .txt, or .resources.

Is there a solution or workaround to this problem?

Thanks

Mario

Developer
Sep 8, 2009 at 7:04 PM
On Tue, Sep 8, 2009 at 7:46 AM, embe<notifications@codeplex.com> wrote:
> we have embedded resource files with .xml, .jpg and .png extensions.
> Building with VisualStudio works fine but bilding with NPanday executes
> ResGen which tells us that ...
>
> [ERROR] ResGen : error RG0000: The file named "Path...\CustomField.hbm.xml"
> does not have a known extension.  Managed resource files must end in .ResX,
> .txt, or .resources.
>
> Is there a solution or workaround to this problem?

Can you provide a zipped-up example project to demonstrate the
problem? Either it may help someone figure out the problem, or we can
use it as an integration test if a bug needs to be fixed. Attach it
to a new item in the Issue Tracker.

Thanks,
--
Wendy
Sep 8, 2009 at 7:27 PM

Hi Wendy,

I created a new Issue and added a demo project for the problem.

It seems that you are giving a lot of support in this forum, thanks a lot for your help!

Mario