【问题标题】:Getting the error "Error CS0234: The type or namespace name `CrossCore' does not exist in the namespace `Cirrious'收到错误“错误 CS0234:类型或命名空间名称‘CrossCore’不存在于命名空间‘Cirrious’中
【发布时间】:2014-12-15 12:21:10
【问题描述】:

收到错误“错误 CS0234:类型或命名空间名称 CrossCore' does not exist in the namespaceCirrious'。您是否缺少程序集引用?”为 PCL。并且无法更新软件包。

当我们尝试在 Mac 机器上更新 Xamarin Studio PCL 中的包时,我们遇到了错误。 “无法安装包'MvvmCross.PortableSupport 3.2.2'。您正在尝试将此包安装到以“portable-Profile78”为目标的项目中,但该包不包含任何与该框架兼容的程序集引用或内容文件。有关更多信息,请联系包作者。”

【问题讨论】:

    标签: xamarin nuget


    【解决方案1】:

    如果您要更新旧的 MvvmCross 项目,那么这可能就是原因。从 3.2.1 开始,MvvmCross 移至 PCL 配置文件 259。您需要将 pcl 核心的配置文件更改为此配置文件或其他兼容的配置文件。

    【讨论】:

      【解决方案2】:

      按照 url http://developer.xamarin.com/guides/cross-platform/getting_started/installation/uninstalling_xamarin/ 中的步骤卸载 xamarin 后

      并重新安装 Xamarin Studio,Nuget 包开始更新。

      【讨论】:

        猜你喜欢
        • 2019-06-27
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2012-10-13
        • 2019-05-16
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多