简体   繁体   English

打开Xamarin .axml文件时,Visual Studio 2017冻结

[英]Visual Studio 2017 freezes when opening Xamarin .axml files

I want to start developing .net Xamarin applications, but my VS keeps freezing when I try to open the layout files for the project, I have the latest version of VS installed and the Xamarin tools as well. 我想开始开发.net Xamarin应用程序,但是当我尝试打开项目的布局文件时,我的VS仍然冻结,我安装了最新版本的VS和Xamarin工具。

I have to use the task manager to close VS and I cannot develop at all. 我必须使用任务管理器来关闭VS,我根本无法开发。

Any help would be appreciated. 任何帮助,将不胜感激。

FIXED at the bottom (edit 2) more info 固定在底部(编辑2)更多信息

It's an issue with version 15.7.3 (to check your version go to Help -> About Microsoft Visual Studio ) and here is its page on github, I have the same problem too and apparantly many others, you can report it by going to Help -> Send Feedback -> Report a problem -> Report new problem , here is another link talking about it. 这是版本15.7.3的问题(要检查您的版本,请访问“ Help -> About Microsoft Visual Studio ), 是它在github上的页面,我也遇到了同样的问题,大约还有其他问题,您可以通过转到Help报告-> Send Feedback -> Report a problem -> Report new problem是另一个谈论它的链接。

Sorry I made this an answer but I'm not allowed to comment (reputation < 50) 抱歉,我将此作为答案,但我不允许发表评论(信誉<50)

EDIT : according to the previous link they're in their final steps of fixing it, and a workaround for now as I have been told here 编辑 :根据前面的链接他们在修复它的最后一个步骤是,和解决方法,现在我已被告知这里

For now, here are some workaround: 目前,这里有一些解决方法:

  • If you need to open a .axml file in VS 15.7.3, you could change its extension name to .xml then open it. 如果需要在VS 15.7.3中打开.axml文件,则可以将其扩展名更改为.xml,然后将其打开。

Or: 要么:

  • Right-click the .axml file then use "open with" --> eg: choose XML Editor 右键单击.axml文件,然后使用“打开方式”->例如:选择XML编辑器

EDIT 2 : it was finally fixed here you can download it and everything finally works as expected 编辑2 :终于在这里修复了,您可以下载它,并且一切都按预期工作

此问题已在15.7.4版中解决, 错误链接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM