Ticket T1166848
Visible to All Users

XAML designer is not working after updating to v22.2.6 with VS2022 17.6.0

created 2 years ago

After the upgrade (and reboot), the designer is no longer functional.

There are two manifestations of this error:

  1. The designer is trying to open, then ends up with this message (not really descriptive):
    Clipboard-File-1.png

  2. The designer does not even open (only XAML is shown).

I have tried to reproduce this with a plan WPF application and everything works fine.
However, when I tried with plain application from DevExpress template (blank MVVM), I could not get the designer to work.

Please let me know if I can provide more data.

Answers approved by DevExpress Support

created 2 years ago

Hello Boris,

I didn't manage to reproduce the exception, but I see that there are some issues related to the designer. I created a separate ticket to discuss this behavior: Visual Studio 17.6.0 does not display the designer surface when using DevExpress components. We will follow up there once we have news.

    Show previous comments (3)
    Dima (DevExpress Support) 2 years ago

      Hello Boris,

      Could you please send us a project created on your side to show this issue? Perhaps there are some project-specific settings that we do not have on our end.

      Additionally, try to obtain the full exception call stack. You may need to attach another instance of Visual Studio to your main instance to do that. Please refer to the following help topic: Attach to running processes with the Visual Studio debugger.

      BP BP
      Boris Petrovic 2 years ago

        Hi Dima, I rolled back the Visual Studio version 17.5.4 and the designer is working properly.
        However, the problem is present only with DevExpress, so I would suggest looking into what caused it to break.
        So far, I could not find any problems with other products, but will investigate further as much the time and resources allow, and post any relevant findings in comments here.

        Dima (DevExpress Support) 2 years ago

          Hello Boris,

          We'd be happy to research this issue, but we do not have enough information about it. We could not reproduce it, and there are no similar reports.

          The XAML designer issue got recently fixed (see Syncfusion Controls like RibbonWindow and ChromelessWindows no longer rendering in designer preview), and the new update for Visual Studio should already be available. I recommend you update and let us know if the issue persists. If so, we need more details about it. Please try to collect the information I requested above.

          Other Answers

          created 2 years ago (modified 2 years ago)

          Update:
          I deleted the line

          Code
          <RuntimeIdentifier>win-x64</RuntimeIdentifier>

          from the .csproject file, and the XAML designer works again.

            Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

            Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.