2

Closed

Localization Extension in Blend 3.0

description

Hello,

I started using Blend 3 with my wpf projects that use the WPF Localization Extension. However, the blend IDE started to get very very slow, for navigation and when the app in lauched. The processor stays at 100% of usage for a long period.

I created a post on the Expression Blend forum, and I sent part of my code to one of the MSFT guys, who replied back:

"We profiled your application (as we could repro the scenario), and found that all of the delay is coming from some code that you run on the design surface:

RootLibrary.WPF.Localization.LocalizeDictionary.SetCultureFromDependencyProperty()

You will have to profile this scenario further to see if any optimizations can be done (or you will have to ask the author of this assembly the same question). My guess is that if you were to get rid of use of the MarkupExtension that you were using for localization, things would speed up drastically – so making this optimization would def. help."

How can I solve this issue? Note that I can not even try to use blend anymore !!! In VS2008 things perform much better.

Thank in Advance,

Igor.
Closed Jun 16, 2010 at 10:24 AM by
will be changed due Blend 4.0

comments

gigios wrote Sep 18, 2009 at 10:45 AM

I have tried to open your example in blend 3 but I get the following exception:

Invalid XAML

The exception is on window1 to the line 21 (Text="{LocText XamlLocalizationTest:ResTexts:TaskName}"/>)

At the moment this prevents me to use the extension in my project, I need to use it in vs2008 and Blend 3.

Is there a way to use the extension in blend without upgrading the window in designmode (or exists a workarounds)?

Thanks

Luigi

ikondrasovas wrote Oct 21, 2009 at 7:10 PM

Heelo Gigios,

Sorry for the delayed answer.

Are you talking about my example? Where did you get it from? Can you please refresh my memory. I'm planning to go back to this issue, since I'm forced to use VS2008 and now that I know Blend capabilities, I really want to go and use it again.

Regards,

Igor.

gigios wrote Oct 22, 2009 at 7:46 AM

Hello Igor, I try to explain the step that I run.
  • Download your XamlLocalizationTest source code and test it on Visual Studio 2008 (All OK).
  • Try to open this sample on Blend 3 and I receive the exception explain in previous post.
  • Download last Source Code of library (15816) and add this project to sample solution
  • Replace reference from AnotherAssembly, in the sample, with LocalizeExtension downloaded
  • Try it on Visual Studio 2008 (All OK), try to open in Blend 3, same exception
Sorry for my english :-(

Regards,
Luigi (Gigios).

ikondrasovas wrote Oct 27, 2009 at 5:25 PM

After reading this on the home page, I decided to be patient:

"To all who waits for the Blend 3.0 support: I have a working solution on my disk and i will release it this month (October).
Please be patient."

By the way, I'm not using Blend 3.0 anymore. Localization is key requirement in our products.