XAML Designer System.Runtime.Remoting.RemotingException

  • I encounter the following Error System.Runtime.Remoting.RemotingException when creating a space Universal Windows 10 application ...

    Error in Visual Studio

    Below are the event view screens ... Event Viewer

    Event Viewer

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

    • Uninstall / Restore Visual Studio 2015 Update 1
    • Reset update for Windows 10 PC 1511
    • Designer / ShadowCache folder cleared
    • Target environment installed on x86 / x64
    • Target structure set to 10240
    • Developer Mode Enabled
    • Updated graphics drivers
    • Recycled and reconditioned solution
    • Updated to version VS15 2

Please let me know if you can find the solution above.

+6
source share
5 answers

Several months passed, but I was finally able to get XAML Designer to work. As @peterfaraday noted, XAML Designer only works if you install Visual Studio on a system drive (C: in my case) instead of using any other drive. After uninstalling Visual Studio, consider the following:

  • If your system partition is small, see how to increase the space, since the installation can take up a lot of space based on the selected components.
  • If you have already installed VS on any other drive, when reinstalling you will not be able to change the default installation directory.

This is due to the fact that the initial installation path was saved, as in the registry. I tried to solve this problem by following these steps . In my case, I found several keys in the registry and, therefore, โ€œReset this computerโ€ (Windows 10), allowing only for my personal files. This cleared all the registry keys, and I was able to install VS back to the C: drive, as a result of which XAML Designer finally worked (note that resetting your PC will delete any applications installed on your computer).

0
source

UWP applications do not start from Visual Studio if the project location and installation path of Windows Store applications are on a drive other than the standard one. In addition, XAML Designer will fail if you install Visual Studio and Windows Store applications on a non-standard drive

Windows 10 allows users to change the default storage for Windows Store applications. If you select a non-standard drive for your applications, and if you install Visual Studio 2015 on this drive, the XAML designer will not start, and Windows Store application projects created on this drive will not start from Visual Studio.

Note. The workaround below will cause any Store apps installed on the secondary drive to be unavailable until the next restart.

The file system driver can be temporarily disabled by running the following command from the administrator command prompt:

fltmc detach filecrypt:

This will allow you to run applications from this disk, as well as use the XAML constructor until the machine restarts.

For a longer period, move the application or installation of Visual Studio to a system drive or an additional drive that was never a storage location for Windows Store applications.

+2
source

I had the same problem. I started a visual studio as an administrator and the designer came back.

+1
source

You might want to try clearing the shadow cache of the XAML constructor . I fixed all kinds of ailments with this process.

0
source

I had the same problem a few months ago. I cleared the cache and restored the solution. I have had success.

-1
source

All Articles