Pesky WinForms Designer Tweaked in Visual Studio 2022 v17.10 Preview 2

"The simple fact of the matter is that 64-bit processes are not compatible with a 32-bit binary reference. As much as we'd like to have a simple fix for this scenario, there really isn't one."

With those words Microsoft closed a lingering 2021 Developer Community post: "WinForms .NET Framework Projects can't display the designer for 32bit references."

While not so simple, some fixes were proposed, including a new out-of-process designer for VS 2022 projects needing to mess with legacy 32-bit stuff.

With that put to bed, the team announced a tweak to that out-of-process designer that resulted in performance improvements in the server process TypeResolution service in Visual Studio 2022 v17.10 Preview 2.

"We are pleased to announce substantial performance improvements to the WinForms out-of-process designer," the dev team said in a March 12 post. "Notably, you'll find performance gains during scenarios that trigger server process restart and designer reload, such as project rebuilds or adjustments in project references. These enhancements have yielded remarkable design time performance improvements, ranging from 30 percent to 50 percent in a typical line of business applications."

Other highlights of Preview 2 include:

  • Improve your code reviews with generated pull request descriptions: GitHub Copilot now assists in creating initial pull request descriptions, saving time and providing context for code reviews.
  • View and address pull request comments in Visual Studio editor: Ability to view and address pull request comments directly in the editor.
    Navigate Between Files in PRs & Comments in Files Using Toolbar
    [Click on image for larger view.] Navigate Between Files in PRs & Comments in Files Using Toolbar (source: Microsoft).
  • Improve readability of Visual Studio with additional formatting options for text: "We've brought Italics as well as strikethrough and underline options to the available options for configuring the way your code text is displayed."
  • SSDT support for VS in Arm64: SQL Server Developer Tools are now supported on ARM64 devices.
  • Ability to export installed Marketplace extensions into a .vsconfig config file: Developer Community post said: "One hopes that it would be a relatively trivial thing for VS to maintain the necessary information and files so that they would be exported for installation to a newly installed system."
  • .NET Counter profiler visualization with new UpDown and ObservableCounter instruments: New support for two "innovative metrics":
    • UpDown enables real-time tracking of values with both incremental and decremental changes.
    • ObservableCounter autonomously manages aggregated totals, offering customizable callback delegates for precise control.
  • GC Insights in Managed Memory Window: New instruments for GC Insights in the Managed Memory window. "This feature provides a deeper understanding of your application's performance by shedding light on instances of induced GC."

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus


  • Creating Reactive Applications in .NET

    In modern applications, data is being retrieved in asynchronous, real-time streams, as traditional pull requests where the clients asks for data from the server are becoming a thing of the past.

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

Subscribe on YouTube