Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Proper method for adding/accessing resources in a DLL project?

Reply
Thread Tools

Proper method for adding/accessing resources in a DLL project?

 
 
TastyKarma@gmail.com
Guest
Posts: n/a
 
      07-18-2006
Was hoping somebody might have some pointers or maybe a link to an
article that explains how to add resources inside a DLL project.
In a regular project there's the option to "Add ASP .NET Folder" that
allows you to add local and global resources folders that contain resx
files to be accessed directly in the code. I haven't found anything
similar to that when working with a DLL library. Is there some standard
way I'm supposed to add resources to a DLL?
Any info is appreciated,
Thanks.
Mark

 
Reply With Quote
 
 
 
 
TastyKarma@gmail.com
Guest
Posts: n/a
 
      07-18-2006
OK, turns out that I can directly access any .resx file that I place in
the project as long as the property "Build Action" specifies that it's
an "Embedded Resource". So I can access it similar to:
NameSpace.[DirectoryName].ResxFilename.ResourceID

wrote:
> Was hoping somebody might have some pointers or maybe a link to an
> article that explains how to add resources inside a DLL project.
> In a regular project there's the option to "Add ASP .NET Folder" that
> allows you to add local and global resources folders that contain resx
> files to be accessed directly in the code. I haven't found anything
> similar to that when working with a DLL library. Is there some standard
> way I'm supposed to add resources to a DLL?
> Any info is appreciated,
> Thanks.
> Mark


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the Proper Method to Upload Long File - WEBDAV using PUT Method Jitendra Sanghani ASP .Net 1 03-19-2012 09:36 AM
How to determine if a DLL is a COM DLL or .NET DLL Anushi ASP .Net 5 10-28-2004 01:59 PM
Why does Ruby use both tcl83.dll and tk83.dll (instead of just tk83.dll)? H. Simpson Ruby 4 08-03-2004 04:45 PM
mprapi.dll --> samlib.dll --> ntdll.dll issue. Some1 Computer Support 4 04-05-2004 02:02 AM
msvcrt.dll, msvcirt.dll, msvcrt20.dll and msvcrt40.dll, explanation please! Snoopy NZ Computing 16 08-25-2003 12:34 PM



Advertisments