473,396 Members | 1,860 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,396 software developers and data experts.

.resx -> .resources

I have plugged the ExceptionManagement app block into our framework and have
a question about resource files. ExceptionManagerText.resx is one of
resource files in the project. When you look at .dll's manifest in the
disassembler the file is ExceptionManagerText.resources. When/How is the
file transformed from it's text form, .resx, to it's binary form,
..resources?

HTH: I was getting the error: "Could not find any resources appropriate for
the specified culture... Make sure ...ExceptionManagerText.resources was
correctly embedded or linked into assembly... The problem was not with the
resource files, but with format of the exceptionManagement node in
web.config... go figure.
Nov 18 '05 #1
2 1994
The resource file generator (resgen.exe) is used to create .resource files
from .resx and .txt files or the other way around.
The following command reads the name value pair is res.resx and creates the
binary res.resource:
resgen res.resx res.resource

Anders Norås
blog : http://dotnetjunkies.com/weblog/anoras/

"Paul" <pa*******@smmoving.com> wrote in message
news:eN**************@TK2MSFTNGP09.phx.gbl...
I have plugged the ExceptionManagement app block into our framework and
have
a question about resource files. ExceptionManagerText.resx is one of
resource files in the project. When you look at .dll's manifest in the
disassembler the file is ExceptionManagerText.resources. When/How is the
file transformed from it's text form, .resx, to it's binary form,
.resources?

HTH: I was getting the error: "Could not find any resources appropriate
for
the specified culture... Make sure ...ExceptionManagerText.resources was
correctly embedded or linked into assembly... The problem was not with the
resource files, but with format of the exceptionManagement node in
web.config... go figure.

Nov 18 '05 #2
My apologies I should have mentioned I was aware of how to do it "manually".
Maybe more accurately I should have asked: During the build process are all
..resx files turned into .resources files? Can I configure this in any way?

"Anders Norås" <an**********@objectware.no> wrote in message
news:OA**************@tk2msftngp13.phx.gbl...
The resource file generator (resgen.exe) is used to create .resource files
from .resx and .txt files or the other way around.
The following command reads the name value pair is res.resx and creates the binary res.resource:
resgen res.resx res.resource

Anders Norås
blog : http://dotnetjunkies.com/weblog/anoras/

"Paul" <pa*******@smmoving.com> wrote in message
news:eN**************@TK2MSFTNGP09.phx.gbl...
I have plugged the ExceptionManagement app block into our framework and
have
a question about resource files. ExceptionManagerText.resx is one of
resource files in the project. When you look at .dll's manifest in the
disassembler the file is ExceptionManagerText.resources. When/How is the
file transformed from it's text form, .resx, to it's binary form,
.resources?

HTH: I was getting the error: "Could not find any resources appropriate
for
the specified culture... Make sure ...ExceptionManagerText.resources was
correctly embedded or linked into assembly... The problem was not with the resource files, but with format of the exceptionManagement node in
web.config... go figure.


Nov 18 '05 #3

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

Similar topics

0
by: Mike Scott | last post by:
I've created several simple controls for use in a Compact Framework application and also use a full .Net framework app for testing. However, Visual Studio keeps creating RESX files for these...
1
by: Buddy | last post by:
Hello, I need to know how can I generate a .resx file from code for different language culture. Basically the .resx file is in binary, is there anyway that I can generate a text file contains...
2
by: qh0st | last post by:
Hi all. I have an windows form application that will have multiple language ..resx files per form. Is there anyway I can bundle these .resx files into ONE .dll per form? If not, do you have any...
4
by: Todd Acheson | last post by:
TOOLS: Visual Studio.NET 2003 .NET SDK GOAL: Reproduce the DLL's that our Visual Studio.NET development boxes create, by using the SDK command line compilers DILLEMA: RESX Files, how to...
0
by: David Krussow | last post by:
I had an aspx page (mypage.aspx) with a code behind file (mypage.aspx.cs) that in turn had a resx file (mypage.aspx.resx). I decided to create another aspx page (myotherpage.aspx) that would reuse...
6
by: dhnriverside | last post by:
Yup - I'm having one of those days! I've just deleted the wrong RESX file (ie one that was in use!) and now my project wont compile. How can I rebuild the resx file, or get it back!? (didnt go into...
3
by: Servé La | last post by:
We have an aspnet project where 2 people are working on and we have put the source files into subversion. Thinking that they were not crucial for a project, we did not put in the resx files. But...
0
by: prabhupr | last post by:
Hi Folks I'm currently working on a Localization+Globalization project; for this project, we need to generate ".Resx" files and we use "US English" Resx file as the base version, to compare the...
6
by: ad | last post by:
I wnat to load a file in an .resx file and transfer the file to a stream. How can I do?
0
by: Rahul | last post by:
Hi I have a Project A that is being reffered by another WEB project Webber. In Project A i am using a resx file to store some information in it. I have m1de the Build Action of the Resx file to...
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:
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.