TBC Macros and Extensions

 View Only
Expand all | Collapse all

XAML Designer not opening

  • 1.  XAML Designer not opening

    Posted 28 days ago
    Greetings

    I am developing TML's in Visual Studio Community 2019, and all was going well.
    I updated the software to version 16.11.54 and now the XAML designer will not open.
    It will not set the XAML Designer as the default editor (right click on XAML and pick open with)
    If I click View->Designer it either opens a second code window or does nothing.
    All was working before the upgrade.
    Or have I done something else???

    Any ideas

    Cheers
    Alan



  • 2.  RE: XAML Designer not opening

    Posted 28 days ago

    Hi Alan,

    I have VS Community 2019, Version 16.11.52

    Here's what it does for me (for comparison):

    After creating a Python project using the "TbcMacros" project template,

    When I right-click on the MyFirstMacro.xaml file, I get these options:

    Open (opens Design/XAML combo window)
    Open With..., choose

    XAML Designer (opens Design/XAML)
    XAML Designer with Encoding (nothing happens)
    XML (Text) Editor (nothing happens)
    XML (Text) Editor with Encoding (nothing happens)

    View Code (opens Design/XAML)

    I don't get a View Designer option (which seems backwards to me)

    When I look at C# projects I have, right-clicking on a .xaml file has both View Code (opens .xaml.cs) and View Designer options.

    Maybe someone at Microsoft vibe-coded with Copilot to fix the context menu option (so it's shows View Designer) and broke it... just kidding, but also maybe serious (facepalm)

    Ronny has a setup file for VS2019 on this post, hopefully it's an early enough version to get you working again...

    Good luck!



    ------------------------------
    Quan Mueller
    Revenant Solutions | TBC Extension Developer
    Superuser Program | superuser@revenantsolutions.com
    ------------------------------



  • 3.  RE: XAML Designer not opening

    Posted 28 days ago
    Hi Quan

    I sorted it out.  I had created a new project folder but neglected to add the .sln project as per the original.

    It now opens correctly.

    Thanks for the reply

    Cheers
    Alan






  • 4.  RE: XAML Designer not opening

    Posted 28 days ago

    Hi Alan, that's great to hear - now I can confidently update VS2019 to 16.11.54 :)



    ------------------------------
    Quan Mueller
    Revenant Solutions | TBC Extension Developer
    Superuser Program | superuser@revenantsolutions.com
    ------------------------------