我的问题似乎与这个问题完全相同: 加载项目时出现“无法加载元数据”错误 但由于没有回答,我会问我自己的问题。
我Microsft Visual C# 2010 Express
用来打开一个项目。起初没有错误,但是当我打开一个时,xaml file
我收到以下错误:
Error 4 The type 'local:IndexConverter' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. MainWindow.xaml 19 26 AppInventoryMvvm
Error 5 The type 'local:EditResourceMultiParamConverter' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. MainWindow.xaml 39 26 AppInventoryMvvm
Error 6 The type 'local:AddResourceMultiParamConverter' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. MainWindow.xaml 54 26 AppInventoryMvvm
Error 7 The type 'local:IndexConverter' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. MainWindow.xaml 96 30 AppInventoryMvvm
Error 8 The type 'local:IndexConverter' was not found. Verify that you are not missing an assembly reference and that all referenced assemblies have been built. MainWindow.xaml 112 30 AppInventoryMvvm
如您所见,所有错误看起来都相同,并且抱怨的代码如下所示:
<local:IndexConverter x:Key="IndexConverter" />
现在我和其他同事一起使用完全相同版本的 IDE 和 SP 等等,(我也打开与他们完全相同的项目)对我来说为什么我可以查看设计完全是个谜!有任何想法吗?