Developer Feedback Makes Microsoft Reverse .NET 6 Hot Reload Decision

Microsoft apologized for an admitted mistake and reversed an earlier decision to limit Hot Reload functionality in the upcoming .NET 6, which is due to debut in a few weeks.

"First and foremost, we want to apologize. We made a mistake in executing on our decision and took longer than expected to respond back to the community," said Scott Hunter, director program management, .NET, in an Oct. 23 post.

That decision was announced a few days earlier in an "Update on .NET Hot Reload progress and Visual Studio 2022 Highlights" wherein principal program manager Dmitry Lyalin said, "we've decided that starting with the upcoming .NET 6 GA release, we will enable Hot Reload functionality only through Visual Studio 2022 so we can focus on providing the best experiences to the most users." The post was later updated to clarify that the company was not releasing Hot Reload as a feature of the dotnet watch command-line interface (CLI) tool, but only in Visual Studio 2022, with the team working to support Hot Reload in Visual Studio for Mac in the future.

That post has since been updated yet again and now points to Hunter's announcement for a full explanation on the decision to not support CLI Hot Reload.

There, Hunter explained: "With the runway getting short for the .NET 6 release and Visual Studio 2022, we chose to focus on bringing Hot Reload to VS2022 first. We made a mistake in executing on this plan in the way it was carried out. In our effort to scope, we inadvertently ended up deleting the source code instead of just not invoking that code path. We underestimated the number of developers that are dependent upon this capability in their environments across scenarios, and how the CLI was being used alongside Visual Studio to drive inner loop productivity by many." The dev team approved the pull request to re-enable the code path, which will be in the GA build of the .NET 6 SDK coming next month.

Blazor Hot Reload in Animated Action
[Click on image for larger, animated GIF view.] Blazor Hot Reload in Animated Action (circa May 2021) (source: Microsoft).

This reporter tried out Blazor Hot Reload functionality via dotnet watch in April and it worked, as detailed in the article, "Hands On: .NET MAUI Desktop, Hot Reload, Blazor WPF/WinForms Controls in .NET 6 Preview 3."

Hunter's Twitter post on the company's reversal was retweeted 662 times, garnering 117 quote tweets and 2,755 likes.

'We Listen and Learn'
[Click on image for larger view.] 'We Listen and Learn' (source: Twitter).

The original decision and subsequent reversal were met with mixed reaction in GitHub discussion and comments to blog and Twitter posts, with some comments alluding to a business decision and internal disagreement about it, but Microsoft hasn't responded to those.

While the Hot Reload CLI brouhaha dominated discussion of the feature, Lyalin's post also discussed:

  • Supported App Frameworks and Scenarios for .NET developers, such as where Hot Reload can be used and through which startup experience
  • Improvements to the core user experience in Visual Studio 2022
  • What's new for .NET MAUI and ASP.NET scenarios
  • Additional supported edits for .NET apps
  • Improvements to the end-to-end experience when using both XAML and .NET Hot Reload together in the same edit session (still in preview)
  • How Hot Reload improves .NET 6 Unit Testing (experimental)

"Regardless of the type of app you're working on, our goal with Hot Reload is to save you as many app restarts between edits as possible, making you more productive by reducing the time you spend waiting for apps to rebuild, restart, re-navigate to the previous location where you were in the app itself, etc." he said. "We accomplish this by making it possible for you to edit your applications code files and apply those code changes immediately to the running application, also known as 'Hot Reload.' "

About the Author

David Ramel is an editor and writer for Converge360.

comments powered by Disqus


  • Visual Studio 'Tea & Technology' Video Miniseries Starts Next Week

    The goal of the miniseries is to provide an insider's snapshot look at some of the people who contribute to shaping the Visual Studio IDE every day.

  • Microsoft Releases OpenJDK 21 Build for Java Jockeys

    Microsoft today announced its "Microsoft Build of OpenJDK 21," taking advantage of new features and functionality in Java 21.

  • 'Dev Home' Update Leads Developer Goodies in AI-Powered Windows 11 Update

    Along with today's new AI-powered Windows 11 update come new goodies for developers, including a new edition of Dev Home, a preview offering described as a "control center" providing coding-focused features and functionality.

  • Community Dev Gives VS Code Python Some YAPF

    The latest update to Python in Visual Studio Code includes a new extension for Python formatting that was contributed by a member of the open source community.

Subscribe on YouTube