471,348 Members | 1,340 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,348 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 1339

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Gabriel Lozano-Morán | last post: by
12 posts views Thread by bj7lewis | last post: by
2 posts views Thread by Don Tucker | last post: by
11 posts views Thread by Alan T | last post: by
2 posts views Thread by Screaming Eagles 101 | last post: by

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.