473,390 Members | 878 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,390 software developers and data experts.

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 3856
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
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
0
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...

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.