0
我在项目中引用了silverlight xaml文件。当我尝试建立这个项目,它抛出以下错误Silverlight XAML文件错误:成员“Margin”无法识别或无法访问
The member "Margin" is not recognized or is not accessible.
这里是我的代码:
<UserControl x:Class="DBServer.Selenium.Silvernium.ReferenceApplication.SilverlightFixture"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation"
mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
<navigation:Frame x:Name="frameContent" Source="/MainPage.xaml" Margin="0,0,0,0"/>
</UserControl>
我也没有看到任何问题。也许你可以删除导航控件,编译解决方案。然后再添加它,编译它。我想其他错误会导致保证金的错误。 –