Solved

Recreating missing .resx form?

Posted on 2004-04-19
2
947 Views
Last Modified: 2007-12-19
If I am missing the resx file to a corresponding Control that I have the C# source code to, is there a way to regenerate it somehow?
0
Comment
Question by:jjacksn
  • 2
2 Comments
 
LVL 4

Expert Comment

by:NTAC
ID: 10869965
Did you ever have it in the first place?  If so, you can use the resgen tool to recreate it using the .resources file (should be in your debug/bin directory).  

If you never had it in the first place, create an empty solution and add your *.cs file to it.  You should be able to compile get most of the stuff back.  Some things like images don't come back, but they are easy enought to add.

Regards,
NTAC
0
 
LVL 4

Accepted Solution

by:
NTAC earned 500 total points
ID: 10871062
In my first choice, here is how you run resgen

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

Works fine for me
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

679 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