Problem with Windows Universal App for Windows 10

I am trying to create a universal Windows application (the end goal is a raspberry Pi 2, although I have not even reached the point where I can deploy this device).

I followed all the instructions on the Get Started with Windows IoT page (all versions are correct, Windows 10 Pro is in developer mode). I reinstalled Visual Studio (Community Edition 15) and - not joking - performed a new installation of Windows 10, followed by Visual Studio (you still need to do this).

I still get the same result.

I am creating a completely new project: "Empty Application (Universal Windows)." I tried the .NET Framework 4.5.2 (default) and 4.61, and I tried to uncheck the box "Show telemetry in Windows Dev Center". None of this seems to matter.

As soon as I have a new project, I open the constructor MainPage.xamlin the constructor and get the following error in the constructor window:

An Unhandled Exception has occurred

Details:

System.Runtime.Remoting.RemotingException
[9556] Designer process terminated unexpectedly!
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain.Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IIsolationDomain.CreateInstance(String assemblyName, String assemblyCodeBase, String typeName)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.IsolationBoundary.Initialize()
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedObjectFactory.Initialize()
   at Microsoft.VisualStudio.DesignTools.DesignerHost.Services.VSIsolationService.CreateObjectFactory(IIsolationTarget isolationTarget, IObjectCatalog catalog)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolationService.CreateLease(IIsolationTarget isolationTarget)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.CreateLease(IIsolationTarget isolationTarget, CancellationToken cancelToken, DesignerServiceEntry& entry, IServiceProvider serviceOverrides)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo culture, Func`2 func, CancellationToken cancelToken)
   at Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedTaskScheduler.<>c__DisplayClass10_0`1.<StartTask>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()

Well, I think to myself, I can try to create this application blindly, working only with XAML ... but then when I try to start a project (Debug, x86, Local Machine), this will not work either. Firstly, it seems that it is loading the application, as evidenced by the large blue window:

Universal application window

, , ( , ):

No debugger configured

, , , Visual Studio. "", Visual Studio - - :

enter image description here

( , , .)

( ), Visual Studio:

enter image description here

, ... Linux-... , , !

- , ? , Windows 10 Visual Studio.

+4
1

, Visual Studio Update 1, Universal App , , "C".

- "C".

0

Source: https://habr.com/ru/post/1622299/


All Articles