0

since a few days i have the problem if i create a new wpf project in Visual Studio 2017 Pro the XAML Designer crashed with an exception like this:

System.Runtime.Remoting.RemotingException [] Der Designerprozess wurde unerwartet beendet. bei Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.ProcessDomainFactory.ProcessIsolationDomain.Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IIsolationDomain.CreateInstance(String assemblyName, String assemblyCodeBase, String typeName) bei Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.IsolationBoundary.Initialize() bei Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.Primitives.IsolationBoundary.CreateInstance[T](Type type) bei Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedObjectFactory.Initialize() bei Microsoft.VisualStudio.DesignTools.DesignerHost.Services.VSIsolationService.CreateObjectFactory(IIsolationDomainFactory isolationDomainFactory, IObjectCatalog catalog) bei Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolationService.CreateLease(IIsolationDomainFactory domainFactory) bei Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.CreateLease(IIsolationDomainFactory domainFactory, CancellationToken cancelToken, DesignerServiceEntry& entry, IServiceProvider serviceOverrides) bei Microsoft.VisualStudio.DesignTools.DesignerContract.IsolatedDesignerService.IsolatedDesignerView.CreateDesignerViewInfo(CancellationToken cancelToken) bei Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedTaskScheduler.InvokeWithCulture[T](CultureInfo culture, Func2 func, CancellationToken cancelToken) bei Microsoft.VisualStudio.DesignTools.DesignerContract.Isolation.IsolatedTaskScheduler.<>c__DisplayClass10_01.b__0() bei System.Threading.Tasks.Task`1.InnerInvoke()

No Solution i have found on the Web works for me... I have uninstalled Visual Studio, uninstalled all SDK's and installed Visual Studio after reboot but nothing works...

Has Anybody an idea for me

3 Answers3

0

Here is the steps I would take:

  1. Make sure your Visual Studio is fully up-to-date
  2. Start Visual Studio in safe mode devenv.exe /SafeMode (this loads only the default environment and services.)
    • 2.1 If that works it's likely a corrupted extension. try and uninstall some of your extensions, and third-party tools
    • 2.1 You can also check the VS logs Devenv /log LogFile, this might give you more information about the error
  3. Repair visual studio
  4. Reinstall visual studio

If you are fully updated and still can't get it to work, I would consider making a bug report with Visual Studio.

How to report a problem with Visual Studio or Visual Studio Installer

halfer
  • 19,824
  • 17
  • 99
  • 186
TheGeneral
  • 79,002
  • 9
  • 103
  • 141
  • Sorry, but all this steps wasn't helpfull... any other ideas? – René Kolbe Jul 30 '20 at 11:15
  • All? Or select steps? – TheGeneral Jul 30 '20 at 12:24
  • @RenéKolbe if nothing works (which I don't belive) you need to talk to the vender. This should happen, it doesn't happen for me, or lots of other people. It's thr software or your environment, or both – TheGeneral Jul 30 '20 at 12:35
  • Hi @all, now i give up... I've uninstall the VS2017 completly, ihave deleted all Files and Folders after uninstall, i have clean up the registry manualy and uninstall all SDK's... then i have installed the VS 2017 clean but always the same :-( Thanks for help! – René Kolbe Jul 30 '20 at 13:19
0

I found some methods here. If it can't solve your problem, you could report this problem in the Developer Community.

dear_vv
  • 2,350
  • 1
  • 4
  • 13
0

my solution for this Issue works. I've done the following steps:

  • i uninstalled VS 2017
  • i uninstalled all SDK's
  • i clean up and delete all Visual Studio Folders in c:\program and c:\program x86 and in user\appdata and so on
  • i have clean up the registry and delete all entries by "Visual Studio"
  • after this i installed Visual Studio 2017 on my "D" Drive

An now it works fine...

  • I am glad to hear that your problem has been solved, you can click '✔' to mark your reply as an answer. – dear_vv Aug 12 '20 at 05:27