By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,562 Members | 1,298 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,562 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.