View unanswered posts | View active topics It is currently Fri Dec 15, 2017 10:21 pm



Reply to topic  [ 1 post ] 
 BAML write error 
Author Message

Joined: Wed Jun 05, 2013 7:30 am
Posts: 1
Reply with quote
Post BAML write error
Hello,
I get the following error when trying to create localized:
BAML write error: The type "BaseLayoutItem" could not be found...

We are using devexpress components and I already tried to add the binary directory containing all their dlls to Reference Resolver as well as to Third-Party Satellites - still getting this error

Please can you advice me how to solve this problem.

Markus

P.S. We are currently using a v5.x for an older Project (Compact Framework 3.5) and I am now evaluating v8.x for our new WPF Project (.Net 4.0).

:arrow: Edit:
I have tracked down the issue to styles. Whenever I set a non standard WPF property within a style setter it results in a BAML write error on create localized (even if the style is not used anywhere - see example below).
Could this be a Lingobit Localizer bug, or can I get somehow around this problem?

Example Code:
<Window x:Uid="Window_1"
x:Class="WpfDockLayoutTest.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow"
Height="200"
Width="300"
xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors">

<Window.Resources>

<Style x:Uid="Style_1" x:Key="Style1" TargetType="dxe:TextEdit">
<Setter x:Uid="Setter_1" Property="NullText" Value=" --- " />
</Style>

<!--<Style x:Uid="Style_2" x:Key="Style2" TargetType="dxe:TextEdit">-->
<!-- <Setter x:Uid="Setter_2" Property="Text" Value="ABC" />-->
<!--</Style>-->

</Window.Resources>

</Window>

Remark:
Adding Style1 will fail whereas Adding Style2 works fine.


Wed Jun 05, 2013 7:55 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Software Localization Tool - Lingobit Localizer