Bedirhan SAMSA
Bedirhan SAMSA

Reputation: 43

The XAML Designer has exited unexpectedly. (Exit code: e0434352)

Xaml Designer keeps crashing, more info:

Error

The XAML Designer has exited unexpectedly. (Exit code: e0434352)

Visual Studio Specs:

Microsoft Visual Studio Professional 2022 (64-bit) - Current
Version 17.1.4

Windows Specs:

Edition Windows 11 Pro
Version 21H2
Installed on    ‎10/‎7/‎2021
OS build    22000.613
Experience  Windows Feature Experience Pack 1000.22000.613.0

WpfSurface Memory Dump File: https://wetransfer.com/downloads/34f7d58db430ab8e4f28e599664ca4e420220416155752/bd9123

Upvotes: 4

Views: 4389

Answers (3)

zdlk
zdlk

Reputation: 31

I faced the exact same problem To solve the problem, try to set the IsDesignTimeCreatable to False in the design DataContext

 d:DataContext="{d:DesignInstance Type=vms:DashboardViewModel, IsDesignTimeCreatable=False}

Upvotes: 1

rom m
rom m

Reputation: 101

removed

<!--<RuntimeIdentifier>win-x64</RuntimeIdentifier>-->

from csproj

fixed the problem

Upvotes: 7

Sinan
Sinan

Reputation: 11

Same problem here with: Win 10 VS Pro 2022 17.1.6

Additionally: CommunityToolkit.mvvm (7.1.2) Microsoft.aspnetcore.signalr.client (6.0.4)

Even a completely new, empty WPF window will not show in the designer. All usual actions like clean recompiling, removing all temporary and generated files, restarting the VS, etc. didn't help to address the problem.

Upvotes: 1

Related Questions