Thread.CurrentThread.CurrentUICulture not available

Hi

I'm developing an application in VS2005 to run on Pocket PC 2003 with .NET Compact Framework 2.0. I want to localize the application for multiple language support. I can enable the localizable property and set different resources for the different languages. The only trouble is that I am unable to set the current UI culture. For example:
Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr-FR");

I get the error:
'System.Threading.Thread' does not contain a definition for 'CurrentUICulture'

I have installed both .NET Framework 2.0 and .NET Compact Framework 2.0. How can I make the complete scope of System.Threading.Thread available to VS2005


Answer this question

Thread.CurrentThread.CurrentUICulture not available

  • mcssSummer

    I figured it out. In .NET Compact Framework the CurrentUICulture is read-only and can only be set by the device itself and not from code.

  • Thread.CurrentThread.CurrentUICulture not available