[Solved] Visual Studio 2022 Hot Reload Not Working Xamarin Forms Xaml
 
I used a Visual Studio 2022 17.2.3 without any errors.
When I get new version Visual Studio 17.3.1
"Hot Reload"  stopped working to existing Xamarin Forms projects.
Output Message: Could not start Xamarin.Forms Hot Reload session

Firstly this is Microsoft side error.
But i found the solution.

You should be add "<PackageReference Include="Xamarin.Forms" Version="5.0.0.2515" />" to existing App .csproj files.
Note: "Version No", Which version are you using.

Example
My project name: TestApp
My Android project name: TestApp.Droid and csproj ile TestApp.Droid.csproj
My iOS project name: TestApp.iOS and csproj ile TestApp.iOS.csproj

 

I should be add Xamarin.Forms "Package Reference" to TestApp.Droid.csproj and TestApp.iOS.csproj
After that, Hot Reload in Xaml working correctly.

<ItemGroup>      
	<PackageReference Include="Xamarin.Forms" Version="Your version" />
	... and other references
</ItemGroup>
------------------------------
Searching Keywords.
  1. xamarin Visual studio 2022 Hot reload not working github.com
  2. xamarin visual studio 2022 existing project hot reload not working
  3. visual studio 2022 xaml hot reload not work 
  4. visual studio 2022 Hot reload issue 
  5. visual Studio 2022 Hot Reload not working 

 

Author: Engin ATALAY
Date: 25.08.2022 09:37:53
View Count: 3398
 
 

COMMENTS
 
Resim Yüklenemedi
Sreejith Krishnadas
19 Ekim 2023 11:52
Thanks for this post! It works :)
 
 
 
 
 
Resim Yüklenemedi
Neshat A.
7 Eylül 2023 11:13
It works. Thank you very much.
 
 
 
 
 
 
 
 
 
 
 
 
WRITE COMMENT
 
 
Your Name :
 
 
 
E-mail :
 
 
 
Your Message :
 
 
 
 
 
 
 
This project : ASP.NET MVC , RAZOR, Entity Framework , CSS , HTML , JQUERY(2.0.2) , AJAX the C# side-tier architecture was developed with logic.
 
Yukarı Çık