2011-07-30 9 views
0

私のWPFデザイナは、それがアセンブリのSystem.Webを見つけることができないと言うので、ロードに失敗し、私はSystem.WebのSystem.Web ExceptionのためにWPFデザイナーが読み込めません!

Error Shot

任意のアイデアをどうしているか、WPF任意のアイデアを持っていませんか?ここで

は、XAMLページのいずれかです。

<UserControl x:Class="RadinFarazJamAutomationSystem.UserControls.ctrlPriceManagement" 
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
     xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
     xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
     mc:Ignorable="d" 
     d:DesignHeight="300" Height="200" Loaded="UserControl_Loaded" Width="300" FlowDirection="RightToLeft" d:DesignWidth="300"> 
<Grid> 
    <Grid.ColumnDefinitions> 
     <ColumnDefinition Width="Auto" /> 
     <ColumnDefinition Width="1*" /> 
    </Grid.ColumnDefinitions> 
    <Grid.RowDefinitions> 
     <RowDefinition Height="Auto" /> 
     <RowDefinition Height="Auto" /> 
     <RowDefinition Height="Auto" /> 
     <RowDefinition Height="Auto" /> 
     <RowDefinition Height="Auto" /> 
     <RowDefinition Height="165*" /> 
    </Grid.RowDefinitions> 
    <Button Content="ثبت" Grid.Row="3" Height="23" HorizontalAlignment="Left" Margin="5" Name="btnSave" VerticalAlignment="Center" Width="80" Click="btnSave_Click" Grid.Column="1" /> 
    <Label Content="نرخ دلار" HorizontalAlignment="Left" Margin="5" VerticalAlignment="Center" /> 
    <Label Content="درصد سود مشتری" Grid.Row="1" Height="28" HorizontalAlignment="Left" Margin="5" VerticalAlignment="Center" /> 
    <Label Content="درصد سود همکار" Grid.Row="2" Margin="5" VerticalAlignment="Center" /> 
    <TextBox Grid.Column="1" HorizontalAlignment="Stretch" Margin="5" Name="txtDollarPrice" VerticalAlignment="Center" /> 
    <TextBox Grid.Column="1" Grid.Row="1" HorizontalAlignment="Stretch" Margin="5" Name="txtCustomerProfit" VerticalAlignment="Top" /> 
    <TextBox Grid.Column="1" Grid.Row="2" Height="23" HorizontalAlignment="Stretch" Margin="5" Name="txtColleagueProfit" VerticalAlignment="Top" /> 
</Grid> 

が、すべてのページが同じエラーを持っているので、これは、XAMLとは関係ありません。ある日、すべてのページでこのエラーが表示され、このエラーが原因で何が起こったのか分かりません。

+0

あなたはこのエラーを生成しているXAMLの作品を置くことができますか? – MBen

答えて

0

あなたのプロジェクトは.Net Frameworkのクライアントプロファイルをターゲットにしている可能性がありますか?それに含まれていない型を使用しようとすると、これに似たエラーが表示されます。

http://msdn.microsoft.com/en-us/library/cc656912.aspx

関連する問題