Reputation: 91
Looking at the output, is being initialized and I set the iOS build's Linker Behavior to 'Don't Link'. When I make any changes, it does register as change as seen in Output window and it seems like its' working but I don't see any changes on my simulator.
Upvotes: 3
Views: 3344
Reputation: 6891
Visual Studio Mac 8.10.x and Vs Windows 16.10.x stopped working in general and none of the answers help. Actually when you open a new project from the template, Hot Reload is working fine. So it doesn't work for the existing older projects. I have opened cs.proj files of IOS project on both my existing project and the new test project, compared each settings and applied settings exactly as it was on the test project to my existing project, after that hot reload works fine. I cannot say which setting was exactly.
Settings I removed
settings I replaced
Upvotes: 0
Reputation: 91
I was able to find a fix. Weird fix though.
So, in order to make your hot reload work
Make sure its enabled through Tools ==> Options ==> Hot Reload ==> Check on Enable XAML Hot Reload. For Mac, Tools ==> Add Custom tools ==> Xaml Hot Reload ==> Enable
Right-click on iOS project ==> Properties ==> iOS build and make sure that the Linker Behavior is selected to 'Don't Link'. For Mac, Options ==> iOS build ==> Set Linker Behavior to Dont Link. If you are building into a physical iOS device, type --interpreter under Additional mtouch arguments field.
Open solution from the folder where it resides. Opening solution from open project page from VS will not work.
Upvotes: 6