New Posts New Posts RSS Feed: Silverlight Supported Cultures
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Silverlight Supported Cultures

 Post Reply Post Reply
Author
gkneo View Drop Down
Newbie
Newbie
Avatar

Joined: 23-Jun-2010
Posts: 21
Post Options Post Options   Quote gkneo Quote  Post ReplyReply Direct Link To This Post Topic: Silverlight Supported Cultures
    Posted: 06-Jul-2010 at 11:12pm
Thank you. I'll wait for it.
Back to Top
ting View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 27-Mar-2009
Location: San Francisco
Posts: 427
Post Options Post Options   Quote ting Quote  Post ReplyReply Direct Link To This Post Posted: 06-Jul-2010 at 4:38pm
This has been fixed and will be part of the next release.
Back to Top
ting View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 27-Mar-2009
Location: San Francisco
Posts: 427
Post Options Post Options   Quote ting Quote  Post ReplyReply Direct Link To This Post Posted: 28-Jun-2010 at 9:09pm
We're still looking at it, but assuming we don't run into any major issues, we will have this fixed in the next release (currently scheduled for the last two weeks in July).  After analyzing the problem in more detail we may be able to provide a workaround in the interim.
Back to Top
gkneo View Drop Down
Newbie
Newbie
Avatar

Joined: 23-Jun-2010
Posts: 21
Post Options Post Options   Quote gkneo Quote  Post ReplyReply Direct Link To This Post Posted: 28-Jun-2010 at 11:36am
Hi, how much time would you need to check it out and release a patch?
Back to Top
ting View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 27-Mar-2009
Location: San Francisco
Posts: 427
Post Options Post Options   Quote ting Quote  Post ReplyReply Direct Link To This Post Posted: 24-Jun-2010 at 5:01pm
Looks like this could be a bug (with the probing logic we perform with the Managed Extensibility Framework).  We'll take a look at it.  Thanks for pointing this out.
Back to Top
gkneo View Drop Down
Newbie
Newbie
Avatar

Joined: 23-Jun-2010
Posts: 21
Post Options Post Options   Quote gkneo Quote  Post ReplyReply Direct Link To This Post Posted: 23-Jun-2010 at 1:54am
Hi. I am trying to localize my silverlight application that uses Devforce, but when I change the silverlight's project "SupportedCultures" node value from anything different than "en", it gives the following message at the domain model constructor:

System.IO.FileLoadException:
The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
   at System.Reflection.AssemblyName.nInit(RuntimeAssembly& assembly, Boolean forIntrospection, Boolean raiseResolveEvent)
   at System.Reflection.AssemblyName.nInit()
   at System.Reflection.AssemblyName..ctor(String assemblyName)
   at IdeaBlade.Core.Composition.PartsCatalog.GetProbeAssemblies()
   at IdeaBlade.Core.Composition.PartsCatalog.LoadCatalog()
   at IdeaBlade.Core.Composition.PartsCatalog..ctor()
   at IdeaBlade.Core.Composition.CompositionHost..ctor()
   at IdeaBlade.Core.Composition.CompositionHost.get_Instance()
   at IdeaBlade.Core.IdeaBladeConfig.GetAllProbeAssemblyNames()
   at IdeaBlade.Core.AuthHelper.LoadRuntimeLicense(Action`1 errorCallback)
   at IdeaBlade.Core.AuthHelper.LoadLicense(Action`1 licenseErrorCallback)
   at IdeaBlade.Core.IdeaBladeConfig.Initialize()


For example, the following works:

<SupportedCultures></SupportedCultures>


<SupportedCultures>en</SupportedCultures>


The following does not work:

<SupportedCultures>es</SupportedCultures>


<SupportedCultures>en;es</SupportedCultures>


<SupportedCultures>es-ES</SupportedCultures>



I was localizing my application as in this blog

I have noticed that when I include the "es" values my xap contains a "es" folder with the proper resources (.dll) and that is when I get the exception.

I am using Windows 7 Enterprise x64 English with DevForce 2010 v6.0.3.1


Edit:
I even change the silverlight "Separate Models Project" project from the Learning resources and got the same error.



Edited by gkneo - 23-Jun-2010 at 1:57am
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down