加载Xamarin解决方案使VS无响应约75% [英] Loading a Xamarin solution renders VS unresponsive at about 75%

查看:70
本文介绍了加载Xamarin解决方案使VS无响应约75%的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个依赖于Xamarin的解决方案,在加载时会立即冻结Visual Studio:代码出现,但GUI锁定在某一点,即使系统没有,也无法切换到窗口。 t将窗口标记为
"无响应"。


我认为这是因为中断了使用同一项目的另一个应用程序造成的。


没有解决问题



  • (成功)手动清理解决方案:  ; " / c / Program Files(x86)/MSBuild/14.0/Bin/MSBuild.exe" -t:清理
  • (成功)修复Visual Studio
  • 关闭并(重新)启动PC
  • (重新)移动 〜/ AppData /Local/Microsoft/VisualStudio/14.0
  • 手动克隆到与之前同名的目录
  • 起初它似乎已经解决了问题,但即使克隆成了
    新目录
    使用VS的从源代码管理中打开... 问题再次出现


注意:第一个命令是在包含.sln的目录中执行的,14.0将是你的版本,如果bash语法混淆了你,"/"表示"\","/ c"表示" "C:"表示"C:"," - "表示"C:"。表示"/","〜"表示"表示"C:/ Users / User"。



可能不相关


我事先得到了以下警告:



  • 'XamarinShellPackage'软件包未正确加载( imgur 4eodLsb
  • 'XamarinAndroidPackage'软件包未正确加载( imgur DlsIJ
  • 'XamarinIOSPackage'软件包未正确加载

我已经通过安装程序在 https://dl.xamarin.com/XamarinforVisualStudio/Windows/Xamarin.VisualStudio_4。 7.10.22.msi  (
未来你将拥有e搜索这个因为我不知道如何找出当前的内部版本号(上面的22)。您可以在以下网址找到该版本: https://store.xamarin.com/account/my/subscription/downloads  - >
查看所有版本 - > Xamarin.iOS Xamarin.Android - > Windows)

Hi Dev,


感谢您在MSDN论坛上发帖。


看起来你已经尝试了很多步骤来解决这个问题。如果修理仍然无效,则机器硬件或系统要求可能会限制Xamarin包装的加载。



你能否 将您的计算机分享给我们详细的配置信息?


请检查并安装所有系统补丁和更新,清理%temp%文件夹。打开"C:\ Users \ MyWinId \ AppData \ Rooaming\Microsoft \VisualStudio \14.0 \ActivityLog.xml "检查此文件中出现的错误。


任何更新请随时与我们联系,我们愿意帮助您排除故障。


Best的问候,


I have a solution dependent on Xamarin that consitently freezes Visual Studio while being loaded: The code appears, but the GUI locks at a certain point and it becomes impossible to switch to the window, even though the system doesn't mark the window as "not responding".

I believe this was caused by interrupting another app working with the same project.

What didn't solve the issue

  • (Successfully) manually cleaning the solution:  "/c/Program Files (x86)/MSBuild/14.0/Bin/MSBuild.exe" -t:Clean
  • (Successfully) repairing Visual Studio
  • Shutting down and (re)starting the PC
  • (Re)moving  ~/AppData/Local/Microsoft/VisualStudio/14.0
  • Cloning manually into the directory with the same name as before
  • At first it seemed to have solved the problem, but even after cloning into a new directory using VS's Open From Source Control... the problem occurred again

NOTE: The first command was executed in the dir containing .sln, 14.0 will be your version, and if bash syntax confuses you, "/" means "\", "/c" means "C:", "-" means "/", "~" means "C:/Users/User".

PossiblyNot related

I got the following warnings beforehand:

  • The 'XamarinShellPackage' package did not load correctly (imgur 4eodLsb)
  • The 'XamarinAndroidPackage' package did not load correctly (imgur DlsIJ)
  • The 'XamarinIOSPackage' package did not load correctly

I've resolved this separate issue by downloading and installing Xamarin for Visual studio via the installer at https://dl.xamarin.com/XamarinforVisualStudio/Windows/Xamarin.VisualStudio_4.7.10.22.msi (in the future you'll have to search for this because I don't know how to find out the current build number (22 above). The version you can find at https://store.xamarin.com/account/my/subscription/downloads -> View all versions -> Xamarin.iOS or Xamarin.Android -> Windows)

解决方案

Hi Dev,

Thank you for posting in MSDN forum.

Looks like that you have tried many steps for solving this issue. If the repair still doesn't work, there is another possibility that machine hardware or system requirement limit the Xamarin packages loading.

Could you share us your computer detailed configure information?

Please check and install all the system patches and updates, clean the %temp% folder . Open the "C:\Users\MyWinId\AppData\Roaming\Microsoft\VisualStudio\14.0\ActivityLog.xml" to check what error that loged in this file.

Any update please feel free to contact us, we are willing to help you troubleshoot.

Best Regards,


这篇关于加载Xamarin解决方案使VS无响应约75%的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆