using satellite assemblies -
06-26-2007
, 06:06 AM
Hi!
I got a solution which contains many different projects. One of those is
ASP.NET Web site which is using assemblies generated by compilation of other
projects from this solution (i.e. library projects). In source code for one
of the classes included in such assembly there's a method which I would like
to implement to obtain resourceSet from a satellite library, which is created
outside VS 2005. I tried all the options possible (==which I've found on the
internet) and still I cannot get it to work (while I managed to create clean
new solution, repeated all the steps and it worked). So my question is - if
I'm trying to proceed in abovementioned task and accessing satellite assembly
by ResourceManager rm = new ResourceManager("MyApp.strings",
Assembly.GetExecutingAssembly()); (that's the one that works), what should I
change to access it if I'm calling GetExecutingAssembly()); not from
code-behind file (that seems to be the only difference between working and
non-working solution) but from the class of a library, that later on is
referenced in a main ASP.NET Web project (both located in the same solution).
I'm not sure if I supplied you guys with all the necessary info to answer my
question, so I would gladly supply you with further details if such need
arises. Thank you for your time
--
best regards
Piotr |