XAML 设计器 System.Runtime.Remoting.RemotingException [英] XAML Designer System.Runtime.Remoting.RemotingException

查看:30
本文介绍了XAML 设计器 System.Runtime.Remoting.RemotingException的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  • 我遇到了以下情况创建空白时 System.Runtime.Remoting.RemotingException 错误Windows 10 通用应用程序...

  • I'm encountering the following System.Runtime.Remoting.RemotingException error when I create a blank Windows 10 Universal Application...

以下是事件查看器屏幕...

Following are event viewer screens...

我已经在线查看了其他解决方案,并且已经完成了关注...

I have checked online for other solutions and have already done the following...

  • 卸载/修复 Visual Studio 2015 更新 1
  • 重置我的 Windows 10 PC 1511 更新
  • 清除了 Designer/ShadowCache 文件夹
  • 目标环境已设置为 x86/x64
  • 目标框架设置为 10240
  • 已启用开发者模式
  • 更新了图形驱动程序
  • 清理并重建解决方案
  • 更新到 VS15 Update 2

如果您能找到上述问题的解决方案,请告诉我

Please let me know if you have been able to find a solution to the above

推荐答案

几个月过去了,我终于让 XAML 设计器开始工作了.正如@peterfaraday 所提到的,XAML 设计器仅在您在系统驱动器(在我的情况下为 C:)上安装 Visual Studio 而不是使用任何其他驱动器时才有效.卸载 Visual Studio 后,请记住以下事项...

Its been a few months but I have finally been able to get the XAML Designer to work. As @peterfaraday mentioned, the XAML Designer only works if you install Visual Studio on the System Drive (C: in my case) instead of using any other drive. After uninstalling Visual Studio keep the following things in mind...

  • 如果您的系统分区很小,请考虑增加空间,因为根据所选组件,安装可能会占用大量空间.
  • 如果您已经在任何其他驱动器上安装了 VS,在重新安装时您将无法更改默认安装目录.
  • If your system partition is small, look to increase the space as the installation can take a lot of space based on the components selected.
  • If you had already installed VS on any other drive, while reinstalling you will not be able to change the default installation directory.

这是因为您的初始安装路径保存在注册表中.我尝试按照这些步骤解决这个问题.就我而言,我在注册表中找到了多个键,因此只允许保留我的个人文件,从而重置此 PC"(Windows 10).这清除了所有注册表项,我能够在 C: 驱动器上重新安装 VS,从而使 XAML 设计器最终正常工作(请注意,重置您的电脑将删除您机器上安装的所有应用程序)

This is because your initial path of installation was saved as in the registry. I tried solving this issue by following these steps. In my case I had found multiple keys in the registry and hence "Reset this PC" (Windows 10) by allowing only for my personal files to remain. This cleared out all the registry keys and I was able to install VS back on the C: drive, resulting in the XAML Designer finally working (Please note that resetting your pc will remove any applications installed on your machine)

这篇关于XAML 设计器 System.Runtime.Remoting.RemotingException的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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