Forum Discussion
Who is using Hot Reload?
Mahdi Hosseini I found a workaround to get hot reload working in VS 2022 17.1 Pre 1 - see https://twitter.com/vincenth_net/status/1460273173484744710
It works great in .NET 5 and .NET 6.
I am using hot reload to create #CSharpForMarkup gen 2 with C# 10
cc shanselman
- nogginboxNov 16, 2021Copper Contributor
VincentH_NET I don't understand the fix. I can't find PublishReadyToRun in my solution anywhere. Perhaps I have a different issue with hot reload, but I might just have misunderstood something. Am I missing something
- VincentH_NETNov 16, 2021Copper Contributor
nogginbox My fix was for a WinUI 3 Preview 3 Desktop app; I don't know whether it applies to a Maui project (which is implemented on top of WinUI for the Windows target only).
Anyway, in a WinUI 3 Desktop app the PublishReadyToRun setting is found in the application's publish profiles, maybe you can find in in a Maui project as well:- nogginboxNov 16, 2021Copper ContributorIt's Maui, but as far as I know still using WinUI 3 under the hood. However, there are no publish settings. So they're either not used or hidden as part of the cross platform stuff. It feels like the same problem though.