We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

XPMenus: Using RESGEN to compile resources

Thread ID:





41969 Mar 16,2006 08:46 AM UTC Mar 17,2006 03:45 PM UTC WinForms 1
Tags: Tools
Paul Wardle
Asked On March 16, 2006 08:46 AM UTC

I am trying to use RESGEN to compile the resources for a form that uses XP menus. The problem can be demonstrated by compiling and then decompiling resources by running RESGEN on MainForm.resx in the XPMenus MDI Sample. RESGEN MainForm.resx MainForm.resources RESGEN MainForm.resources MainForm.copy.resx gives the error: ResGen : error RG0000: Error while writing the output file "MainForm.copy.resx" ResGen : error RG0000: Specific exception: "InvalidOperationException" Message: "Item named ''barManager1.BarPositionInfo'' of type ''System.IO.PinnedBufferMemoryStream'' cannot be added to the resource file because it is not serializable." Does anyone have any ideas how to compile these resources using RESGEN?

Mano J [Syncfusion]
Replied On March 17, 2006 03:45 PM UTC

Hi Paul, Are you converting the resources for a VS2005 application? I can able to see the same problem when I used the resgen utility in VS 2005 installed path (C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\ResGen.exe). However, when I use the resgen utility in VS2003 installed path (C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\ResGen.exe), it succesfully compiles and decompiles the resources. Could you please try using the VS 2003 Resgen utility and let me know if you are able to see the problem. Regards, Mano


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon