"Invalid ResX input" error message occurs when you build the project in Visual Studio .NET (316196)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2003), Professional Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition

This article was previously published under Q316196

SYMPTOMS

If you create a project in a pre-release version (Beta 2 or earlier) of Visual Studio .NET, you may receive the following error (or similar) when you try to build the project in the released version:
Resource transformation for file 'object.resx' failed. Invalid ResX input.
NOTE: The error message differs according to the type of application (Web application, Windows application, and so on) that you try to build. However, all versions of the error message refer to an Extensible Markup Language (XML) resource (.resx) file.

CAUSE

This problem occurs because the .resx file format is modified after the release of Visual Studio .NET Beta 2.

RESOLUTION

To resolve this problem, use the RegenResx conversion tool to convert the .resx file format. The RegenResx conversion tool is available from the following Microsoft Web site:

Modification Type:MinorLast Reviewed:3/3/2006
Keywords:kbtshoot kberrmsg kbvs2005doesnotapply kbvs2005swept kbprb kbProd2Web KB316196 kbAudDeveloper