Uno platform 5 and x:Bind throws Cannot resolve type "http:schemas.microsoft.comwinfx2009xaml:Bind" - Stack Ov

I'm creting as new multiplatform app with uno platform 5 and net9, I modified the example given an

I'm creting as new multiplatform app with uno platform 5 and net9, I modified the example given and worked ok with static values, but when I tried to use x:Bind throw this error:

Cannot resolve type ":Bind".

My code:

<ContentView xmlns=";
             xmlns:x=";
             x:Class="MauiControls.MyControl"
             x:Name="contentView">
  <VerticalStackLayout ...>
    <Label Text="{x:Bind Name}"/>
    ...

Using Binding works ok {Binding Name, Source = {x:Reference contentView}}, but I would like to use x:Bind due execution improvements and the strong types, also here says that Uno supports x:Bind /docs/articles/features/windows-ui-xaml-xbind.html.



Windows 11
Visual studio 17.12.4
net 9.0.102
Uno.Sdk 5.6.20
Uno Platform Check v1.28.3.0 (all ok)

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745283482a4620418.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信