大家好.遇到此错误您是否缺少using指令或程序集引用"时,我正在Xamarin.Forms中开发跨平台应用程序.在安装Nuget软件包(Xamarin中的Circle Image View)之前,我的项目运行良好,但是当我卸载它(不更改一行代码)时,出现了上述错误. 我尝试构建,重建它,但仍然无法正常工作.我能做些什么来解决这个问题?任何帮助将不胜感激.非常感谢.
Good Day everyone. I'm developing a Cross Platform Application in Xamarin.Forms when I encounter this error "Are you missing a using directive or an assembly reference". My project is working fine before I install a Nuget package (Circle Image View in Xamarin), but when I uninstall it (without changing a single line of code) the said error started to appear. I tried to Build, Rebuild it but still it does not work. Anything I can do to fix this? Any help will be appreciated. Thanks a lot.
这些是错误:
错误1:
找不到类型或名称空间名称"Xamarin"(您是否缺少using指令或程序集引用?)
The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
错误2:
找不到类型或名称空间名称应用程序"(您是否缺少using指令或程序集引用?)
The type or namespace name 'Application' could not be found (are you missing a using directive or an assembly reference?)
错误3:
找不到类型或名称空间名称"Xamarin"(您是否缺少using指令或程序集引用?)
The type or namespace name 'Xamarin' could not be found (are you missing a using directive or an assembly reference?)
错误4:
找不到类型或名称空间名称"ContentPage"(您是否缺少using指令或程序集引用?)
The type or namespace name 'ContentPage' could not be found (are you missing a using directive or an assembly reference?)
推荐答案
在我的环境中遇到这样的错误时,我会执行以下操作:
When I got an error like this on my Environment, I do following:
在大多数情况下,这可以解决此引用问题(就我而言)
In most cases, this solves this reference-problems (in my case)
更多推荐
“您是否缺少using指令或程序集引用"?在Visual Studio 2013中
发布评论