在为Xamarin创建新的Zebble - 跨平台解决方案项目时,如何解决长时间运行的“创建项目”-MSharp.Meta'...'对话框?

时间:2017-04-06 13:56:00

标签: visual-studio-2015 xamarin-zebble zebble

使用Visual Studio 2015 Update 3,我尝试按照视频说明创建新项目:http://zebble.net/docs/creating-a-new-project

我执行以下操作:

  1. 我确保已安装Zebble扩展程序
  2. 点击开始屏幕的“新建项目”链接
  3. 我选择'Zebble for Xamarin - 跨平台解决方案'作为项目类型
  4. 我将项目命名为“我的应用程序”
  5. 点击“确定”按钮
  6. 接下来会发生什么:

    • 出现一个小的Microsoft Visual Studio对话框,其中包含文本'Creating project'-MSharp.Meta'...'和一个连续运行的绿色加载栏和一个取消按钮。
    • 我的任务栏中出现“Microsoft Visual Studio忙碌”警报。它表示Visual Studio正在等待内部操作完成。

    在视频中,项目似乎是在没有这个漫长的过程的情况下创建的。

    我以管理员身份运行Visual Studio。

    以下是我安装的Zebble扩展程序的版本详细信息:

    • 安装日期:4/6/2017
    • 版本:3.96

    以下是连续运行的对话框。

    enter image description here

    Per Ali的评论,我启用了Visual Studio日志记录并从ActivityLog.xml中提取了以下内容:

    125
    ERROR
    Still unable to load MEF component DLL: Could not load file or assembly 'Microsoft.VisualStudio.Text.Logic, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
              C:\USERS\FIRSTNAMELASTNAME\APPDATA\LOCAL\MICROSOFT\VISUALSTUDIO\14.0\EXTENSIONS\RHJ3QMIR.2GA\ZebbleVSIX.dll
    
    
    Microsoft.VisualStudio.CommonIDE.ExtensibilityHosting.VsShellComponentModelHost
    2017/04/06 18:22:44.432
    

1 个答案:

答案 0 :(得分:1)

显然,Visual Studio 2017中的错误以及与SLN文件创建相关的VS 15更新3都会导致该问题。

尝试以下修复:

  1. 从Visual Studio中卸载Zebble扩展程序并重新启动它。

  2. https://marketplace.visualstudio.com/items?itemName=Paymon.ZebbleforXamarin安装Zebble扩展v 4.2或更高版本。

  3. 创建一个新的Zebble项目(参见http://zebble.net/docs/creating-a-new-project

  4. 按照 Android \ -READ-ME-NOW !!!!!!!!!!!!文件中的说明操作.txt
相关问题