Ask a Question related to ASP.NET General, Design and Development.
-
WebDevHokie #1
Resources in class library
Good day,
I have a class library that I am creating and I want to use a resource
file for each of the classes in the library. So I created a resource file
(DataAccessLayer.resx) for each class (done from the Visual Studio IDE) and
I then put the following code in my classes:
ResourceManager o_ResourceManager = new
ResourceManager("DataAccessLayer", Assembly.GetExecutingAssembly());
When I attempt to access any of the elements of the resource file, I get
a missing manifest error. Am I doing something fundamentally wrong here?
I've looked in several articles and I am following them except for the file
names.
Here is the error message:
"Could not find any resources appropriate for the specified culture (or
the neutral culture) in the given assembly. Make sure
"DataAccessLayer.resources" was correctly embedded or linked into assembly
"DataAccessLayer.dll".
Any help is greatly appreciated!
WebDevHokie
WebDevHokie Guest
-
Cannot instantiate .NET Class Library to expose webservice client library
Now that I have got the mickey mouse .NET interop problem sorted (exposing ..NET library to ASP/VB6), I want to demo the real problem I am having. ... -
Webservice from class library
If you don't mind dynamically generating the ASMX, then you could use reflection. Slurp in the DLL, and spit out ASMX template code from the DLL... -
Class Library or Web Service
I have developed a "Class Library" and tested it in Windows.Forms app and all is OK, however when I try to use it in a Web Application I am getting... -
XP Style Manifest in a Class Library
I know how to use the manifest to acheive XP style controls in an executable file, but how can this be aceived in a class library? I have a... -
ASP.Net app, Class Library and Web Service
I have an ASP.Net application that uses some Class Libraries (dll's) that I created separately. One of these dll's connects to a Web Service. I...



Reply With Quote

