我在那里得到了以下信息,它说它无法找到我的.xaml文件:
<UserControl x:Class="MyApp.RectangleTest"
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"
mc:Ignorable="d"
FontFamily="{StaticResource PhoneFontFamilyNormal}"
FontSize="{StaticResource PhoneFontSizeNormal}"
Foreground="{StaticResource PhoneForegroundBrush}"
d:DesignHeight="150" d:DesignWidth="130"
d:DataContext="{d:DesignData SampleData/RectangleSampleData.xaml}">
所以它声明它找不到RectangleSampleData.xaml,但是如果我从错误框中取出url并粘贴到我的Run命令中它会打开文件,那么是什么给了Visual Studio?