Groups | Blog | Home
all groups > dotnet internationalization > october 2006 >

dotnet internationalization : Problem accessing satellite assemblies in VS2005


pdcossette
10/27/2006 10:05:01 AM
I have an ASP.NET application that stores strings in .resx files in the
App_GlobalResources folder. These files are sent to another company for
translation and returned in satellite assemblies, which are then placed in
the bin folder of the web application. When deployed the application uses
the satellite assemblies just fine, but when I try to debug in VS2005 these
satellite assemblies are ignored. The current culture is set programatically
based on user preferences.

Is there any way to acess the satellite assemblies when debugging?
leilip NO[at]SPAM microsoft.com
10/31/2006 9:25:00 PM
Hi,
I hope this answer your question:
One of the new linker switches: "...assemblydebug- This switch is available on the Linker Debugging Project property
page through the Debuggable Assembly property. This switch is equivalent to the [Debuggable] attribute, which the
compiler adds to indicate to the runtime that the assembly can be debugged. The values passed through the attribute tell
the runtime to track information important to the debugger and to turn off just-in-time (JIT) optimization. ..."
Taken from:
http://msdn.microsoft.com/msdnmag/issues/03/03/VisualCNET/#S8


--------------------
[quoted text, click to view]


--

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the
terms specified at http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread
from which they originated.
pdcossette
11/2/2006 1:24:02 PM
I should have mentioned that my code was written in C# -- the link you gave
was for C++. The problem isn't just that I can't debug the assemblies -- the
problem is that the satellite assemblies aren't even being used when i run
the code in the VS 2005 IDE.

Has anyone out there got this to work?

[quoted text, click to view]
Michael S. Kaplan [MSFT]
11/3/2006 12:11:13 AM
"pdcossette" <pdcossette@discussions.microsoft.com> wrote...
[quoted text, click to view]

The IDE does not really depend on the machine settings -- it usually tries
to be independent of the machine settings.

The easiest way to fake this is to explicitly set the CurrentUICulture
explicitly in your code very early while debugging.

--
MichKa [Microsoft]
NLS Collation/Locale/Keyboard Technical Lead
Globalization Infrastructure, Fonts, and Tools
Blog: http://blogs.msdn.com/michkap


This posting is provided "AS IS" with
no warranties, and confers no rights.

pdcossette
11/3/2006 7:45:01 AM
I'm already setting the CurrentUICulture in code -- the IDE uses the .resx
files in App_LocalResources just fine, but doesn't use the global resources
stored in satellite assemblies--

[quoted text, click to view]
AddThis Social Bookmark Button