Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Internationalization / November 2006

Tip: Looking for answers? Try searching our database.

Problem accessing satellite assemblies in VS2005

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pdcossette - 27 Oct 2006 18:05 GMT
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?
Leili Pournasseh[MSFT] - 31 Oct 2006 22:25 GMT
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

--------------------
> Thread-Topic: Problem accessing satellite assemblies in VS2005
> thread-index: Acb56gpcPIAXJwB/SgWp+rBzMcStow==
[quoted text clipped - 28 lines]
>
> Is there any way to acess the satellite assemblies when debugging?

Signature

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 - 02 Nov 2006 22:24 GMT
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?

> Hi,
> I hope this answer your question:
[quoted text clipped - 38 lines]
> >
> > Is there any way to acess the satellite assemblies when debugging?
Michael S. Kaplan [MSFT] - 03 Nov 2006 09:11 GMT
"pdcossette" <pdcossette@discussions.microsoft.com> wrote...
>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 --  
[quoted text clipped - 3 lines]
>
> Has anyone out there got this to work?

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.

Signature

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 - 03 Nov 2006 16:45 GMT
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--

> "pdcossette" <pdcossette@discussions.microsoft.com> wrote...
> >I should have mentioned that my code was written in C# -- the link you gave
[quoted text clipped - 10 lines]
> The easiest way to fake this is to explicitly set the CurrentUICulture
> explicitly in your code very early while debugging.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.