sattelites assemblie and localization problem

S

Stoyan

Somebody manage to do this?
"If you want to replace the satellite resources (satellite assemblies once
compiled), you can do so at any time, without having to recompile your main
assembly ."

I have satellite assemblies with my project and when compile everything with
VS it is ok. When try to edit some of the assemblies and recompile it and
put it in the same directory, always get an exception:
Could not find any resources appropriate for the specified culture (or the
neutral culture) in the given assembly. Make sure
"WebShopModule.Resource.resources" was correctly embedded or linked into
assembly "WebShopModule". baseName: WebShopModule.Resource locationInfo:
<null> resource file name: WebShopModule.Resource.resources assembly:
WebShopModule, Version=1.0.1326.30554, Culture=neutral, PublicKeyToken=null
1. Do i need to make some link between sattelites assemblie and the main
assemblie of the project?

2. In MSDN says:

"To use resources in ASP.NET pages, first create a parallel main assembly to
store your application's resources. This assembly will contain the default
or neutral resources for the application. Next, create a satellite assembly
containing localized resources for each culture that your application
supports. Install the main assembly into the application's bin directory,
and the satellite assemblies in the expected subdirectories. The following
illustration shows where satellite assemblies should be located in the
directory structure of an ASP.NET application."

What means "parallel main assembly" ? Is it the application assemblie or it
is something other?
Why when compile the project through VS everything is ok, but when recompile
only one of the sattelites assemblies it doesn't work?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,074
Latest member
StanleyFra

Latest Threads

Top