WPF XAML designer reloading issue

Łukasz Hajduga 21 Reputation points
2021-12-13T10:49:11.45+00:00

I have a problem with XAML designer in my C# WPF project. XAML designer is reloading per every code change. That mean even if I add a comment (//loading data) in my code and go back to the XAML designer it's reloading and it takes 10-20 seconds. I've never haveu issue like this. I tried with older project to be sure that this is bug and in old project this problem did not occurr and XAML designer was working as it should. Do you know what can I do to fix that problem. Thanks for help

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
XAML
XAML
A language based on Extensible Markup Language (XML) that enables developers to specify a hierarchy of objects with a set of properties and logic.
790 questions
0 comments No comments
{count} votes

Accepted answer
  1. Hui Liu-MSFT 47,341 Reputation points Microsoft Vendor
    2021-12-14T02:04:39.467+00:00

    If possible, please try to delete the .suo file in your project, and then reopen your .xxproj file (project file), clean and re-build your app. Check again to see if it works.


    If the response is helpful, please click "Accept Answer" and upvote it.
     Note: Please follow the steps in our [documentation][5] to enable e-mail notifications if you want to receive the related email notification for this thread. 

    [5]: https://learn.microsoft.com/en-us/answers/articles/67444/email-notifications.html

    0 comments No comments

0 additional answers

Sort by: Most helpful