Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do I generate .resx file from .cs file?

Posted on 2004-04-19
3
Medium Priority
?
320 Views
Last Modified: 2006-11-17
I have a .cs file for a windows form.  I somehow screwed up its .resx file.  How do I generate the .resx file from the .cs file?
0
Comment
Question by:shibai
3 Comments
 
LVL 22

Expert Comment

by:_TAD_
ID: 10863920


Do a REbuild of the project and then a REbuild of the solution.
0
 

Author Comment

by:shibai
ID: 10868554
It didn't work.  The .resx file was deleted after being screwed up.
0
 
LVL 4

Accepted Solution

by:
NTAC earned 1000 total points
ID: 10872690
If you are getting the error saying that you don't have the resx file, you can open a blank solution, and drop in your *.cs file.  recompile and it should give you some of what you need.  Sometimes it doesn't come out right.

If you happened to have the *.resources file, you can do this:
The resgen is in the directory:
C:\Program Files\Microsoft Visual Studio .NET\FrameworkSDK\Bin\Resgen.exe

You run it like
> resgen inputfile.resources outputfile.resx

Good luck
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question