Failed to assign to property 'Windows.UI.Xaml.FrameworkElement.MinHeight'

I'm trying to add a CommandBar on my Windows Phone 8.1 app, using Visual Studio 2013 Update 2. Here is the XAML code:

<Page x:Class="App1.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:App1" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> <Page.BottomAppBar> <CommandBar> <AppBarButton Icon="Accept" Label="appbarbutton"/> </CommandBar> </Page.BottomAppBar> <Grid> </Grid> </Page>

The <CommandBar>...</CommandBar> tags have the blue squiggly lines with the following error:

Error 1 The text associated with this error code could not be found.

Failed to assign to property 'Windows.UI.Xaml.FrameworkElement.MinHeight'. [Line: 6 Position: 9]

How can I resolve this error? I'm relatively new to Windows Phone and C#, having started only last week. Any help would be appreciated!

Thanks,

Tony

Answer1:

For those experiencing the same problem Visual Studio Express 2013 Update 2, this error is resolved by updating Visual Studio 2013 to Update 3 RC.

Here's the download link

人吐槽 人点赞

Recommend

Comment

用户名: 密码:
验证码: 匿名发表

你可以使用这些语言

查看评论:Failed to assign to property 'Windows.UI.Xaml.FrameworkElement.MinHeight'