当我尝试使用Name="id"and和/或x:name="id"得到编译器错误时:
Name="id"
x:name="id"
The Type 'MyName' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built.
当我没有指定此选项时,我的控件运行正常。有什么建议么?