472,975 Members | 1,788 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

How to add Resource Files to a Windows Set Up Project.

Hi to all,

I have a dll that i named CoreLibrary.Basically to return messages from the
dll to the calling application ,be it a windows application,web service or
any other third party i call for help the Resource Manager class of Dot Net.

To be more precise,In the dll i included resources for English language and
French language bu using the naming convention provided by Microsoft i.e
Messages.en-US.resx or Messages.fr-FR.resx.

Now i have a windows application which references the dll mentioned
above.The windows application also used the same idea as above for
application globalization.

When i completed my exe and build the program in Vs 2005 everything works OK.
Because i don't know by what means dot net copies the
CoreLibrary.Resources.dll file to the bin/Debug/en-US and bin/Debug/fr-FR ,so
the application runs without problem.

Now when i created the set up project for my application ,when i compiled it
and installed it ,the latter is not copying the CoreLibrary.Resources.dll
file to the necessary directories.

I think that the Set Up and Deployment did not find
CoreLibrary.Resources.dll as a dependency file for the application.

The solution i got is to include the dll project in the Windows Application
solution and then add its Localized resources to the set up project which
eventually works.

But this becomes a problem for me in the event that the CoreLibrary project
is a very big and Confidential dll which i do not want my other developers to
view its code.

This is probably the reason why it is compiled in a dll.

What i would like from you all is suggestions of whether the way am doing it
is the right way or / and if there is another way to include the resources
dll generated by the dll the set up application so as windows installer can
copy the files to the necessary directories.

If you cannot understand me please reply me so as i can explain myself better.

Thanks in advance for those who will eventually help me .
Jun 27 '08 #1
0 1394

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

Similar topics

1
by: Gabriel Lozano-Morán | last post by:
First of all sorry for the cross-posting but I am not sure wether this belongs under internationalization or just general. Environment: Visual Studio .NET 2003 Problem: Newly added and...
12
by: bj7lewis | last post by:
I am working on a project I want to add a few files as resource to access(copy them to FS and use) at runtime. So far in VS.NET IDE, I Add Files to the project and set its Build Action to...
2
by: Don Tucker | last post by:
Hello, I have a Windows Application that needs to load multiple image files in response to users clicking buttons. Currently, I just have these images as .jpg files on disk, but I don't want to...
0
by: Kleanthis | last post by:
I have a problem, when deploying multilingual applications using cab files on Compact Framework 2.0. It seems that something is going wrong with compact framework 2.0 Below I have a description...
11
by: Alan T | last post by:
I added a resource file into my project, to store the caption of buttons and labels.. How do I make use of this resource file to dynamically assign to the buttons and labels ?
1
by: Tom | last post by:
This may seem a little strange, but in all my years of developing Windows Forms apps, I've never really used Resource files; however, I would like to start doing so in order to store icons,...
7
by: Rich | last post by:
I am resurrecting this question (since it got bumped down by more recent posts). This is probably very simple - I need to add a version resource to a DLL project in MSVC++ 2005 Express in order...
2
by: Screaming Eagles 101 | last post by:
Hi, we used to have a resource file in VB6 and use this as a provider according to the language a user chose (English, Dutch, Spanish,....), his interface thus. In this resource file we had al...
12
by: TS | last post by:
i have a need to possibly enable mutli language support. What benefit do i get by using a resource file instead of a custom xml solution? thanks!
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.