473,473 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Resgen.exe error: Invalid ResX input, SerializationException

When manually running resgen.exe from the command prompt (Visual Studio .NET
2003 command prompt) I get the following error:

[resgen] error: Invalid ResX input.
[resgen] error: Specific exception: SerializationException Message: Invalid
ResX input. ---> SerializationException: Cannot find the assembly Common,
Version=1.0.1905.1173, Culture=neutral, PublicKeyToken=null.
[resgen] 2 error(s).

The file within the project it is erroring on is a custom control.

I have seen this error in the newsgroups, but no posts on a proper solution.

If I build the solution in the Visual Studio .Net 2003 IDE, it builds fine.
However We are trying to build a solution from the command line using Nant.
When Nant runs the build, it first runs resgen and then gets the same error
that occurs when running resgen.exe manually from the command line.

Any help would be appreciated.

Thanks,
Frank Jones

Jul 21 '05 #1
1 3861
Hi Frank,

First of all, I would like to confirm my understanding of your issue. From
your description, I understand that when you use resgen.exe from the
command line, an exception is thrown. But this does not occur in the IDE.
If there is any misunderstanding, please feel free to let me know.

As far as I know, until .NET 2.0 this tool did not support compiling
resources with references to assemblies that are not stored in the GAC. In
Nant, you copy the assemblies needed to a temp directory and launch resgen
there, or try to use a fileset support in ResGenTask.

Please check the following thread for more information:

http://www.mail-archive.com/na******.../msg03136.html

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Avanish Pandey | last post by:
Hi All I want to convert a resx file to resource file in ASP.NET code (means I want to run resgen utility through coding) can I do that? if yes then how? Thanks in advance *** Sent via...
1
by: Roman Muntyanu | last post by:
Hi all ! After I run resgen my.fr-CA.txt my.fr-CA.resx I got my.fr-CA.resx without any french characters, they were cut at all. How to let resgen know about language specific encoding ? ...
0
by: Severino | last post by:
Hi all, this post follows the previous one titled "VC++.NET bug or missing setting inside the project?" with further details about the problem: To make a summary of the previous post we have a...
1
by: Namratha Shah \(Nasha\) | last post by:
Hi All, This is a resource file generation tool which converts an xml based resource formats to .net resource file i.e. (.resources) and vice-versa. Today we will see how we will generate ...
1
by: Frank Jones | last post by:
When manually running resgen.exe from the command prompt (Visual Studio .NET 2003 command prompt) I get the following error: error: Invalid ResX input. error: Specific exception:...
0
by: hungrymind | last post by:
Hi All, I am trying to create automated build server using Nant, WIX with net 2.0. On my local machine when I compile with framework 2.0 it works fine however when I run it on other machine it...
0
by: Sister Ray | last post by:
Hello, I'm trying to debug and compile a application that was developed by a collegue of mine, How ever when i try to build the application I always receive the following error: Compiling...
1
by: Sister Ray | last post by:
Hello, I'm trying to debug and compile a application that was developed by a collegue of mine, How ever when i try to build the application I always receive the following error: Compiling...
1
by: SQACPP | last post by:
I have an error when compiling a simple form project... I just start a new Form project and add a new PictureBox in a form(or anything that generate the .resx file) After that when compiling I...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.