locked
HotReload LiveReload LiveXaml [Mac] [Windows] [nuget package] [opensource] RRS feed

  • Question

  • User198446 posted

    Hi all I want to introduce a nuget package which allows reloading XAML views from Visual Studio on your running app. This package works for Mac too!

    https://github.com/AndreiMisiukevich/HotReload

    Sunday, November 4, 2018 2:42 AM

All replies

  • User268349 posted

    Very interesting How is this better than LiveXAML from ionapps ?and Live Reload from Xamarin ?

    Sunday, November 4, 2018 2:08 PM
  • User198446 posted

    @VovaKamishnikov said: Very interesting How is this better than LiveXAML from ionapps ?and Live Reload from Xamarin ?

    Hi, thanks for feedback. 1) It works for Mac (I'm not sure, but it seems Xamarin Live Reload doesn't) 2) It's free (LiveXaml is not. LiveXaml is paid) 3) It's open source (Both LiveXaml and LiveReload are not) 4) It works in any IDE (Sublime, VisualCode etc.)

    Obviously, it has got some weakness, but i haven't spent a lot of time for first release :)

    Sunday, November 4, 2018 2:45 PM
  • User198446 posted

    CSS isn't supported yet, but i am going to do it)

    - BTW, as for LiveReload.. it isn't supported and plugin was removed. So, now there are LiveXaml (paid), Gorilla Player (don't know :( ) and HotReload - open source and free :))

    Monday, November 5, 2018 9:22 AM
  • User198446 posted

    https://www.nuget.org/packages/Xamarin.HotReload/

    Monday, November 12, 2018 7:45 PM
  • User198446 posted

    Fixed startup crash on latest xCode

    Friday, November 23, 2018 12:06 AM
  • User198446 posted

    Need more testers xD Are there any ideas how can we improve it?)

    Thursday, November 29, 2018 8:27 AM
  • User198446 posted

    Hi all New release https://github.com/AndreiMisiukevich/HotReload/releases/tag/1.1.0

    BUGS: - FIXED OBSERVING OF SUBDIRECTORIES Enhancements: - ADDED X:NAME SUPPORT - ADDED POSSIBILITY TO WORK WITH XamlCompilationOptions.Compile - REMOVED NECESSITY TO USE #IF DEBUG IN EACH ELEMENT - MOVED HOTRELOAD TO Xamarin.Forms namespace for more comfortable use

    Available here: https://github.com/AndreiMisiukevich/HotReload

    Saturday, December 29, 2018 8:49 PM
  • User198446 posted

    Release 1.1.1 ENHACEMENT:

    Saturday, December 29, 2018 10:00 PM
  • User350 posted

    This looks impressive but I'm afraid a major advantage of LiveXAML over HotReload is that you don't need to make any code changes to your app - just add the NuGet package.

    Sunday, December 30, 2018 8:01 AM
  • User198446 posted

    @JamesLavery said: This looks impressive but I'm afraid a major advantage of LiveXAML over HotReload is that you don't need to make any code changes to your app - just add the NuGet package.

    Yes, that is what I want to adjust ;)

    Sunday, December 30, 2018 5:13 PM
  • User350 posted

    @AndreiMisiukevich_ said: > @JamesLavery said: > This looks impressive but I'm afraid a major advantage of LiveXAML over HotReload is that you don't need to make any code changes to your app - just add the NuGet package.

    Yes, that is what I want to adjust ;)

    Great - if you can do that, then it will be really good!

    Sunday, December 30, 2018 5:40 PM
  • User176749 posted

    @AndreiMisiukevich_ I just tried and have 2 issues. 1) when i try to run observer.exe on windows 10, i get this message "observer.exe is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher." 2) I tried to run project on debug mode on ios and i got error, i could resolve the error installing hotreload nuget on ios project also.

    Monday, December 31, 2018 3:17 PM
  • User176749 posted

    1) i downloaded source code and complied project and used exe generated out of my build and it works fine. It looks like your build was x86 what you uploaded on github and it doesnt work on x64 pc

    Monday, December 31, 2018 3:43 PM
  • User198446 posted

    @batmaci thank you very much for feedback! I will create an issue on my github and solve

    1) I need to find, how to build it for x64 architecture from my Mac.. (or update the Readme) 2) I will update Readme

    Monday, December 31, 2018 6:45 PM
  • User198446 posted

    @batmaci updated Readme for 1) and 2) cases :) Thanks again

    Monday, December 31, 2018 6:55 PM
  • User176749 posted

    @AndreiMisiukevich_ belows are not clear for me, 1) which ip should we use, when i start observer.exe by default i see this URL: http://169.254.53.15:8000, is it correct or how can i get correct url? you mentioned "Check application output "HOTRELOADER STARTED AT {IP}" and compare it with url in terminal/cmd" what do you mean by terminal/cmd? i am guessing that this is for MAC. do you know how can i get this in windows? I tried using Observer.exe u=http://127.0.0.1:8000 but still didnt work on Android

    2) Does it work on "save" document? so everytime i save, it pushes changes? 3) Does it work for UWP, Android (emulator and device), Ios( emulator and device)?

    thanks

    Tuesday, January 1, 2019 2:43 PM
  • User198446 posted

    @batmaci
    Android device, iOS device, iOS simulator should work Android emulator. Known issue: https://github.com/AndreiMisiukevich/HotReload/issues/1 UWP.. didn't tried, but i guess it will work as well (it's crossplatform solution)

    So. 1) "which ip should we use" - you must use ip of your device (if it's physical device) or ip of your local machine if it's simulator (As i mentioned above.. currently it doesn't work on android emulator. Can't solve it now.. httplistener doesn't work on android emulator)

    When you start application you can find your device IP in output, just start observer on the same url. (But as i see you tried to do it on android emulator... :( ) Btw, make sure your PC/Mac and device/emulator are in the same local network

    2) Yes, it does 3) Currently it doesn't work for Android emulator.. but i want to redesign my solution for it: host server on PC/Mac and collect changes every 1 sec for example (instead of doing in on "save")

    Tuesday, January 1, 2019 7:15 PM
  • User176749 posted

    @AndreiMisiukevich_ i have seen the ip address in the console and i started with this ip address but i cant make it working on android device. i have attached source code on my project and added reference on Net Standard project. can you give me some hint how to debug the connection? in which functions do I expect a call after "save"?

    Tuesday, January 1, 2019 11:34 PM
  • User198446 posted

    @batmaci said: @AndreiMisiukevich_ i have seen the ip address in the console and i started with this ip address but i cant make it working on android device. i have attached source code on my project and added reference on Net Standard project. can you give me some hint how to debug the connection? in which functions do I expect a call after "save"?

    Does it work on iOS ? Seems, I need to check it.

    You may try on sample project..

    Tuesday, January 1, 2019 11:37 PM
  • User176749 posted

    Nope, it doesnt work for me on Ios Emulator. I gave exatly same address and used your sample project but cannot make it working. i am on Windows

    Wednesday, January 2, 2019 3:30 AM
  • User198446 posted

    @batmaci :( oh no.. could you please create an issue on my github with all possible info? I appreciate your help Maybe, somebody will be interested in contribution.

    There are several reasons why it can not be working

    1) Issues with file observer (it doesn't work) in that case you won't see any logs in command line during its work (if you change any file) 2) Issues with sending xaml (maybe your PC and emulator are in different networks? Do they have similar ip ? 192.168.0.13 and 192.168.0.27 for example ?) 3) Some issues with reloader (http listener) try to run the app and in your browser call http://{ip}:{port} and try to catch it with breakpoint there https://github.com/AndreiMisiukevich/HotReload/blob/master/Reloader/Xamarin.Forms.HotReload.Reloader/HotReloader.cs#L150

    Wednesday, January 2, 2019 8:36 AM
  • User176749 posted

    @AndreiMisiukevich_ strange behavior. i debugged and found out that observer doesnt detect xaml changes if i change over VS 2017 but if i do any change using notepad, observer caches change and sends to the url. Problem number 2; HandleRequestAsync receives that request and when I debug line by line all works without exception but debugging even shows that content xaml is replaced and reloaded but Ios emulator is not showing changes.

    EDIT: good news, i fixed both problems and i will make you PR requests later :D i guess nobody ever tested on windows below.

    Wednesday, January 2, 2019 10:52 PM
  • User198446 posted

    @batmaci haha) i wait your PR

    Yes, that's right :) I have no Win PC :( both work and home laptops run on OS X

    As for problem 1) I faced with this on mac too, but fixed by adding handler of FileCreated (because VS create temp file then changes all file, but notepad/sublime etc. doesn't.. so two different events FileCreated and FileChanged )

    Thank you very much ! :)

    Wednesday, January 2, 2019 11:18 PM
  • User198446 posted

    @batmaci don't forget about your promise to create PR ;0

    Thursday, January 3, 2019 10:26 PM
  • User198446 posted

    Code updated. Hot reload can be started on Windows as well.

    Follow "setup" steps :)

    Friday, January 4, 2019 11:44 PM
  • User268349 posted

    LiveXAML costs 240$ without regular discounts Minimal developer rate is 10$ Therefore LiveXAML costs maximum 24 hours of work

    I wonder is it worth to create another solution and spend a lot of time ?

    Sunday, January 6, 2019 8:50 PM
  • User198446 posted

    @VovaKamishnikov 1) I didn't spend a lot of time 2) I like programming. It's my job and hobby ;) 3) I want to provide open-source solution for our community. Developers should help each other rather than require money ;0

    Why are you asking about it?

    Anyway, definitely, LiveXaml cost is too high. It should have price near 20-50$ (not more) Mr.Gestures costs 40 euro

    Sunday, January 6, 2019 9:06 PM
  • User176749 posted

    @AndreiMisiukevich_ are you able to reload contenviews also? I couldnt make it working for me. when i check the source code, i cant figure out how do you reload contentview as it is a part of contentpage?

    Wednesday, January 9, 2019 2:15 AM
  • User198446 posted

    @batmaci said: @AndreiMisiukevich_ are you able to reload contenviews also? I couldnt make it working for me. when i check the source code, i cant figure out how do you reload contentview as it is a part of contentpage?

    Hi. Yes, I am. I reload the element and parent page Works on Mac

    Wednesday, January 9, 2019 5:49 AM
  • User198446 posted

    Hi guys! We found a workaround for starting hotreload on android emulator https://github.com/AndreiMisiukevich/HotReload/issues/1

    Wednesday, January 23, 2019 10:31 AM
  • User198446 posted

    https://github.com/AndreiMisiukevich/HotReload Should work fine on Windows and Mac (devices and simulators/emulators) !

    Saturday, January 26, 2019 10:05 PM
  • User198446 posted

    Added extension for VS for Windows https://github.com/AndreiMisiukevich/HotReload#widnows

    Sunday, February 17, 2019 9:41 PM
  • User28203 posted

    @AndreiMisiukevich_

    *Edit...

    Disregard my post before this edit. This is awesome, thanks for making it! The Forms Previewer is literally useless, I'm not sure if it actually works for anyone and should be removed.

    This is great and will same me so much time. Thanks again.

    Sunday, February 17, 2019 10:03 PM
  • User198446 posted

    @NickA :)

    Sunday, February 17, 2019 11:24 PM
  • User76049 posted

    @NickA said: @AndreiMisiukevich_

    *Edit...

    Disregard my post before this edit. This is awesome, thanks for making it! The Forms Previewer is literally useless, I'm not sure if it actually works for anyone and should be removed.

    This is great and will same me so much time. Thanks again.

    "The Forms Previewer is literally useless"

    As the whole community said.....and got ignored.

    It sort of works in 2019 for basic templates but for serious apps, it won't. These tools save time, game changer is when it's baked into Visual Studio, otherwise it's a pain to strip out in CI automation.

    Monday, February 18, 2019 12:21 AM
  • User198446 posted

    At weekend we'll add info about how to use VS extension :) And probably will be available extension for VS for Mac too For now Mac users may use observer.exe

    Tuesday, February 19, 2019 12:18 PM
  • User165096 posted

    Hey Andrei,

    First of all, thank you for HotReload, it's a great and helpful project!

    I've tried using it on Windows with Visual Studio, but I ran into several problems, especially because UWP apps are not allowed to communicate with each other on localhost. I started to think about an workaround and I ended up making my own Reloader, using SignalR. I did it the other way around though, having the Monitor act as a server and the Xamarin Forms apps as clients (more like the way Xamarin LiveReload was doing it). That also brings in several other benefits: - you can have the Monitor running in the background and the apps automatically connect when they start - you can have several apps running and getting the updates simultaneously, allowing you to see the impact of your XAML changes on Android, iOS and UWP at the same time, for example.

    The xaml updating side is pretty basic, but it works well for my projects (Xamarin.Forms with ReactiveUI) without the need to change any code in the views' code-behind.

    Apparently I cannot post links here yet, but you can check out the repository on github /vladhorby/Codexcite.Reloader

    Let me know what you think.

    Vlad

    Friday, February 22, 2019 8:09 PM
  • User198446 posted

    @vladhorby Hi

    • Only handles updates for the current page, ignores updates for other pages.

    I am keen to allow updates all pages :)

    Saturday, February 23, 2019 12:18 AM
  • User165096 posted

    @AndreiMisiukevich_ Hi there, thanks for the reply! I normally use live reload for quick design updates while working on a single page so I didn't need it, but you're right, it's a normal requirement. I added the functionality and updated the repository - it just implied maintaining a cached version of the updated pages and applying it on page Appearing.

    Vlad

    Saturday, February 23, 2019 1:04 AM
  • User176749 posted

    @vladhorby i have also implemented exactly your way. it has also another benefit. you dont have to make code changes for each pages like @AndreiMisiukevich_ 's solution does. but i didn't use any signalR or reactiveUI. why did you need those? TcpClient with basic listener does pretty much what is required. All those has 1 big disadvantage, they are just applying changes in memory but as I understand correctly livexaml changes actual uploaded file in the device. thats why you can change any page regardless of it is the active one or not and changes are applied.

    Saturday, February 23, 2019 3:53 AM
  • User198446 posted

    @batmaci i'm going to work around this case. And you won't have to update every xaml.cs file thanks

    Saturday, February 23, 2019 3:02 PM
  • User165096 posted

    Hey @batmaci ! SignalR - it was just faster to setup everything with just 2 lines of code. Of course, it can be done with basic TcpClient and I will remove the dependency soon. ReactiveUI - the Reloader doesn't use it, there is no dependency on it. But I do use it on my Xamarin Forms projects, so I needed to make sure the xaml update plays well with it, mainly making sure that WhenActivated (Page.Appearing) gets called after update.

    I'm not sure if there is another use case for the live reload, that I'm not seeing. My use case is during the UI design development, making changes in the xaml file and seeing those changes reflected in the running apps without rebuilding and rerunning them again and losing a lot of time. From that point of view, it doesn't matter if the change is in memory or in the device - I just need to see the impact of the updates and when the next build is done they are included in the package.

    Do you have another use case in mind?

    Saturday, February 23, 2019 7:09 PM
  • User198446 posted

    Let me introduce new VS for mac extension for easy work with HotReload

    https://github.com/AndreiMisiukevich/HotReload#mac

    Tuesday, February 26, 2019 9:18 PM
  • User198446 posted

    Hi all Just pushed new version of HotReload.

    1) Removed redundant dependency to Rx 2) You needn't update every xaml.cs file anymore!

    using Xamarin.Forms;
    
    namespace YourNamespace
    {
        public partial class App : Application
        {
            public App()
            {
                InitializeComponent();
    #if DEBUG
                HotReloader.Current.Start(this);     
    #endif
                MainPage = new NavigationPage(new MainPage());
            }
        }
    }
    

    That's all :)

    install VS extension (Available for Win and Mac) and enjoy

    https://github.com/AndreiMisiukevich/HotReload

    Friday, March 1, 2019 9:29 AM
  • User198446 posted

    New release of HotRelod for xaml live reloading: 0) No need to modify every xaml.cs file! (Just run HotReloader) 1) No need to set you device IP in code (Just set up in extension) 2) Removed dependency to Rx library https://github.com/AndreiMisiukevich/HotReload

    Friday, March 1, 2019 6:51 PM
  • User198446 posted

    New version :) https://github.com/AndreiMisiukevich/HotReload

    ResourceDictionary support

    Thursday, March 14, 2019 8:15 AM
  • User142315 posted

    @AndreiMisiukevich_

    This is fantastic work Andrei! I love it.

    A few ideas to improve if possible. When switching platforms, I have to keep changing the ip address on the toolbar.

    Is it possible to eliminate this altogether? Could the device somehow report back its ip address at runtime?

    Or, at least, could the tool store the 3 ip address for the 3 target devices and select automatically based on which platform I'm debugging on?

    Thursday, March 14, 2019 12:27 PM
  • User198446 posted

    @RHudson said: @AndreiMisiukevich_

    This is fantastic work Andrei! I love it.

    A few ideas to improve if possible. When switching platforms, I have to keep changing the ip address on the toolbar.

    Is it possible to eliminate this altogether? Could the device somehow report back its ip address at runtime?

    Or, at least, could the tool store the 3 ip address for the 3 target devices and select automatically based on which platform I'm debugging on?

    Hi) thanks for your feedback) Multi IPs is In progress now: https://github.com/AndreiMisiukevich/HotReload/issues/29 Will be available soon (on weekend i guess :))

    As for your case.. hm) maybe we can create "IPs history" ? with last 10 IPs What do you think?

    Thursday, March 14, 2019 12:47 PM
  • User198446 posted

    @RHudson Or maybe we will add "profiles" feature :) and you will be switch among your profiles with stored IPs

    Thursday, March 14, 2019 12:50 PM
  • User198446 posted

    Added ViewCell xaml.cs support

    Monday, March 25, 2019 9:29 AM
  • User176749 posted

    @AndreiMisiukevich_ said: Added ViewCell xaml.cs support

    what it means? you can edit xaml.cs during debugging and it will reload changes. when i edit xaml.cs files in vs2017, it breaks my debugging usual, how did you overcome this?

    Tuesday, March 26, 2019 12:16 AM
  • User198446 posted

    @batmaci

    Tuesday, March 26, 2019 7:50 AM
  • User198446 posted

    @batmaci oh .... my bad Added ViewCell.xaml support...

    Tuesday, March 26, 2019 7:51 AM
  • User283453 posted

    Awesome work ! Working with Prism & Syncfusion components in one shot. Well done !

    Saturday, March 30, 2019 3:01 PM
  • User365912 posted

    I Cant user it. not work for me

    Friday, April 5, 2019 9:03 AM
  • User198446 posted

    @hauphidao have you read Readme yet? Set up all things correctly? If android emulator -- checked workaround section?

    Friday, April 5, 2019 9:06 AM
  • User365912 posted

    @AndreiMisiukevich_ said: @hauphidao have you read Readme yet? Set up all things correctly? If android emulator -- checked workaround section?

    yep! i config like this

    Friday, April 5, 2019 9:39 AM
  • User198446 posted

    @hauphidao and what platform do you test?

    Friday, April 5, 2019 9:41 AM
  • User365912 posted

    @AndreiMisiukevich_ I test on android real devices

    Friday, April 5, 2019 9:44 AM
  • User198446 posted

    @hauphidao but stop what the

    this (null) in constructor???

    you must initialize HotReload before creating page

    Friday, April 5, 2019 9:48 AM
  • User365912 posted

    here i use Prism but not work

    Friday, April 5, 2019 10:05 AM
  • User198446 posted

    @Umar3x said: Awesome work ! Working with Prism & Syncfusion components in one shot. Well done !

    could you please assist?

    Friday, April 5, 2019 10:14 AM
  • User198446 posted

    @hauphidao said: here i use Prism but not work

    create small sample and post on github, if you want. I will check what's wrong

    Friday, April 5, 2019 10:14 AM
  • User283453 posted

    @AndreiMisiukevich_ sure thing mate.

    @hauphidao I'm doing same as you are

    public partial class App : PrismApplication
        {
            /* 
             * The Xamarin Forms XAML Previewer in Visual Studio uses System.Activator.CreateInstance.
             * This imposes a limitation in which the App class must have a default constructor. 
             * App(IPlatformInitializer initializer = null) cannot be handled by the Activator.
             */
            public App() : this(null) { }
    
            public App(IPlatformInitializer initializer) : base(initializer) { }
    
            protected override async void OnInitialized()
            {
                Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("license");
                InitializeComponent();
    
                HotReloader.Current.Start(this);
                await NavigationService.NavigateAsync("MainPage/CustomNavigationPage/MainTabbedPage");
            }
    ......
    }
    

    It does not work at all, or the app launch but your changes does not display ? I think that just might be that you put the wrong IP.

    Friday, April 5, 2019 10:41 AM
  • User365912 posted

    @Umar3x how to set right Ip? i set ip 127.0.0.1:8000, need set ip on device ?

    Friday, April 5, 2019 10:45 AM
  • User283453 posted

    @hauphidao

    Get target device's IP easily for Android :

    • Open adb command prompt
    • Run command adb shell
    • Run command ip -f inet addr show wlan0

    You'll see an ip, connec to this one in HotReload.

    Friday, April 5, 2019 10:53 AM
  • User198446 posted

    @hauphidao

    ah yessss

    @Umar3x nice catch!

    Wrong IP

    127.0.0.1 is localhost

    Check application output for more info about device IP Hot reload post your device ip to application output

    "### AVAILABLE DEVICE's IP:"

    Friday, April 5, 2019 11:07 AM
  • User365912 posted

    @Umar3x @AndreiMisiukevich_

    it working thanks all.

    Friday, April 5, 2019 11:13 AM
  • User198446 posted

    happy days :)

    Friday, April 5, 2019 11:18 AM
  • User198446 posted

    We are working on device auto-detection feature :) So, i hope you won't need to fill this IP at all in future :)

    Tuesday, April 9, 2019 9:02 AM
  • User176749 posted

    @AndreiMisiukevich_ extension works for me on windows but i tried now using on mac with ios simulator, i am not getting it running. i enabled from tools menu. 127.0.0.1:8000 is the default ip and port. what could it be the problem?

    Tuesday, April 9, 2019 10:38 PM
  • User198446 posted

    @batmaci hm good question try on sample project pls

    Tuesday, April 9, 2019 11:32 PM
  • User176749 posted

    @AndreiMisiukevich_ it works fine for me on my mac also now. generally works great but sometimes, it stops and until i restart the visual studio it will not display the changes. did you experience this on mac?

    Saturday, April 13, 2019 1:06 PM
  • User198446 posted

    @batmaci hmm.. maybe there are some issues..

    Saturday, April 13, 2019 3:19 PM
  • User198446 posted

    Added inline css styles support :)

    https://github.com/AndreiMisiukevich/HotReload

    Thursday, April 18, 2019 11:48 AM
  • User384810 posted

    Hello,

    I gave HotReload a try and I find something confusing about setting it up. (Windows 10, android emulator 8.1) Here's what I did: 1. added the extension, nuget package in the projects 2. I am using emulator so tried with default 127.0.0.1:8000 but I did not see my xaml being updated as I changed it. 3. I've set the port to another value in Init constructor and also used the adb forward.

    It worked for a little while, even if it threw some errors but I managed to get some preview, now it fails again to work. I press Connect and the icon turns green, no error shown.

    Interesting that on output I can see that HOTRELOAD STARTED and I see the emulator IP addresses, but they are different from localhost.

    What am I doing wrong? Any advices?

    Friday, April 19, 2019 7:06 PM
  • User198446 posted

    @alinescoo said: Hello,

    I gave HotReload a try and I find something confusing about setting it up. (Windows 10, android emulator 8.1) Here's what I did: 1. added the extension, nuget package in the projects 2. I am using emulator so tried with default 127.0.0.1:8000 but I did not see my xaml being updated as I changed it. 3. I've set the port to another value in Init constructor and also used the adb forward.

    It worked for a little while, even if it threw some errors but I managed to get some preview, now it fails again to work. I press Connect and the icon turns green, no error shown.

    Interesting that on output I can see that HOTRELOAD STARTED and I see the emulator IP addresses, but they are different from localhost.

    What am I doing wrong? Any advices?

    Hi, could you please create issue on GitHub with all necessary information?

    As I understood, you was able to make it working, but now it doesn't. Weird

    Saturday, April 20, 2019 7:48 AM
  • User198446 posted

    css support :)

    Saturday, May 4, 2019 8:02 PM
  • User198446 posted

    Shell support Compiled ResourceDictionary support

    Friday, May 10, 2019 11:49 AM
  • User198446 posted

    Device autodiscovery feature is released

    Thursday, June 13, 2019 3:11 PM
  • User74 posted

    @AndreiMisiukevich_ said: Device autodiscovery feature is released

    Just tried it and it works nicely! However for me I had to set the discovery port to 15001 and I still need to do the adb port forward. The result of this is that I can only see the XAML changes on a single droid emulator at a time. EDIT: I am using VS2019 on Windows in case that makes a difference

    Thursday, June 13, 2019 3:36 PM
  • User198446 posted

    @JohnH unfortunately it's constraint :( try to run one more emulator, what will happen?

    Thursday, June 13, 2019 5:18 PM
  • User198446 posted

    Adb autoforward

    https://github.com/AndreiMisiukevich/HotReload/issues/75

    Tuesday, June 18, 2019 1:37 PM
  • User198446 posted

    We added RIDER plugin Also you needn't forward ports on android emulators anymore

    https://github.com/AndreiMisiukevich/HotReload

    Monday, June 24, 2019 10:18 AM
  • User198446 posted

    @JamesLavery said: This looks impressive but I'm afraid a major advantage of LiveXAML over HotReload is that you don't need to make any code changes to your app - just add the NuGet package.

    check HotReload again ) it became much more powerful

    Monday, June 24, 2019 9:41 PM
  • User198446 posted

    @alinescoo said: Hello,

    I gave HotReload a try and I find something confusing about setting it up. (Windows 10, android emulator 8.1) Here's what I did: 1. added the extension, nuget package in the projects 2. I am using emulator so tried with default 127.0.0.1:8000 but I did not see my xaml being updated as I changed it. 3. I've set the port to another value in Init constructor and also used the adb forward.

    It worked for a little while, even if it threw some errors but I managed to get some preview, now it fails again to work. I press Connect and the icon turns green, no error shown.

    Interesting that on output I can see that HOTRELOAD STARTED and I see the emulator IP addresses, but they are different from localhost.

    What am I doing wrong? Any advices?

    check latest version mate )

    Monday, June 24, 2019 9:43 PM
  • User198446 posted

    @JohnH said:

    @AndreiMisiukevich_ said: Device autodiscovery feature is released

    Just tried it and it works nicely! However for me I had to set the discovery port to 15001 and I still need to do the adb port forward. The result of this is that I can only see the XAML changes on a single droid emulator at a time. EDIT: I am using VS2019 on Windows in case that makes a difference

    latest versions don't require manual port forwarding. It is achieved automatically) check Readme on my github

    Monday, June 24, 2019 9:45 PM
  • User198446 posted

    code changes (coming soon)

    https://twitter.com/Andrik_Just4Fun/status/1153648324211302400

    Tuesday, July 23, 2019 2:29 PM
  • User74 posted

    @AndreiMisiukevich_ said: code changes (coming soon)

    https://twitter.com/Andrik_Just4Fun/status/1153648324211302400

    That looks great! How soon is soon? :p

    Tuesday, July 23, 2019 3:17 PM
  • User198446 posted

    @JohnH 1 week approximately, i think

    Tuesday, July 23, 2019 3:46 PM
  • User176749 posted

    nice progress. it works fine on windows but i dont why i cant make it my macbook. its probably some port problem but i couldnt get it work. any clue? or how can i diagnose it? output window shows no error

    Tuesday, July 23, 2019 3:59 PM
  • User198446 posted

    @batmaci it's weird. HotReload for Mac is usually more stable.

    Do you use real macbook? Can you try to disable firewall ?

    btw, have you enabled extension ?

    Tuesday, July 23, 2019 7:09 PM
  • User176749 posted

    @AndreiMisiukevich_ said: @batmaci it's weird. HotReload for Mac is usually more stable.

    Do you use real macbook? Can you try to disable firewall ?

    btw, have you enabled extension ?

    @AndreiMisiukevich_ said: @batmaci it's weird. HotReload for Mac is usually more stable.

    Do you use real macbook? Can you try to disable firewall ?

    btw, have you enabled extension ?

    yes sure physical macbook, no remote connection or vm :D i disabled firewall and enabled extension but it didnt help. 15000 is the port it shows that it is connected but i think that in the output i see something like port 8000. could it be the problem? i had no problem on windows. it connected without doing any set up.

    Tuesday, July 23, 2019 7:52 PM
  • User198446 posted

    @batmaci said:

    @AndreiMisiukevich_ said: @batmaci it's weird. HotReload for Mac is usually more stable.

    Do you use real macbook? Can you try to disable firewall ?

    btw, have you enabled extension ?

    @AndreiMisiukevich_ said: @batmaci it's weird. HotReload for Mac is usually more stable.

    Do you use real macbook? Can you try to disable firewall ?

    btw, have you enabled extension ?

    yes sure physical macbook, no remote connection or vm :D i disabled firewall and enabled extension but it didnt help. 15000 is the port it shows that it is connected but i think that in the output i see something like port 8000. could it be the problem? i had no problem on windows. it connected without doing any set up.

    well,

    enable extension run your app

    try to switch to another xaml page then go back (i've fixed one such bug today..)

    Tuesday, July 23, 2019 8:07 PM
  • User74 posted

    @AndreiMisiukevich_ said: @JohnH 1 week approximately, i think

    Is it 1 week yet? ;) Looking forward to demonstrating this to the team!

    Thursday, July 25, 2019 8:34 AM
  • User198446 posted

    @JohnH said:

    @AndreiMisiukevich_ said: @JohnH 1 week approximately, i think

    Is it 1 week yet? ;) Looking forward to demonstrating this to the team!

    i think, you will be able to do it on Monday :)

    Thursday, July 25, 2019 9:11 AM
  • User198446 posted

    https://twitter.com/Andrik_Just4Fun/status/1153804045733122049

    Thursday, July 25, 2019 9:12 AM
  • User198446 posted

    @batmaci said:

    @AndreiMisiukevich_ said: @batmaci it's weird. HotReload for Mac is usually more stable.

    Do you use real macbook? Can you try to disable firewall ?

    btw, have you enabled extension ?

    @AndreiMisiukevich_ said: @batmaci it's weird. HotReload for Mac is usually more stable.

    Do you use real macbook? Can you try to disable firewall ?

    btw, have you enabled extension ?

    yes sure physical macbook, no remote connection or vm :D i disabled firewall and enabled extension but it didnt help. 15000 is the port it shows that it is connected but i think that in the output i see something like port 8000. could it be the problem? i had no problem on windows. it connected without doing any set up.

    https://github.com/AndreiMisiukevich/HotReload/issues/102

    Thursday, July 25, 2019 10:07 AM
  • User74 posted

    @AndreiMisiukevich_ said:

    @JohnH said:

    @AndreiMisiukevich_ said: @JohnH 1 week approximately, i think

    Is it 1 week yet? ;) Looking forward to demonstrating this to the team!

    i think, you will be able to do it on Monday :)

    Morning Andrei! How are you getting on?

    Monday, July 29, 2019 8:40 AM
  • User198446 posted

    @JohnH said:

    @AndreiMisiukevich_ said:

    @JohnH said:

    @AndreiMisiukevich_ said: @JohnH 1 week approximately, i think

    Is it 1 week yet? ;) Looking forward to demonstrating this to the team!

    i think, you will be able to do it on Monday :)

    Morning Andrei! How are you getting on?

    almost finished. Have some troubles with Android. But hope i will create release tonight

    Monday, July 29, 2019 8:46 AM
  • User198446 posted

    @JohnH https://twitter.com/Andrik_Just4Fun/status/1155963687980507136

    Monday, July 29, 2019 10:13 PM
  • User74 posted

    @AndreiMisiukevich_ said: @JohnH https://twitter.com/Andrik_Just4Fun/status/1155963687980507136

    Thanks Andrei, it works very well! The requirement of having to add attributes and interfaces to the page, is that going to stay long term?

    Friday, August 2, 2019 10:31 AM
  • User198446 posted

    @JohnH said:

    @AndreiMisiukevich_ said: @JohnH https://twitter.com/Andrik_Just4Fun/status/1155963687980507136

    Thanks Andrei, it works very well! The requirement of having to add attributes and interfaces to the page, is that going to stay long term?

    unfortunately it's limit of current solution :(

    Tuesday, August 6, 2019 1:23 PM
  • User388353 posted

    This HotReloader does not work for me.

    I have visual studio 2017

    Thursday, August 15, 2019 1:03 PM
  • User388353 posted

    This HotReloader does not work for me.

    I have windows \ visual studio 2017 and work on android device

    Set Extension

    version 1.4.0 and enabled icon (Extension has started to listen 15000 port for IP auto discovery)

    Set package nuget

    1.4.19 only on PCL project

    Set run on app

      public App()
        {
            InitializeComponent();
    

    if DEBUG

            HotReloader.Current.Run(this); 
    

    endif

    Set HotReloader.CSharpVisual on Content page

    [HotReloader.CSharpVisual] public partial class LoginPage : ContentPage {

    What did i do wrong?

    Thursday, August 15, 2019 1:35 PM
  • User198446 posted

    @RicoDev stay on nuget version 1.4.15 and enjoy XAML reloading seems there is an issue with windows and latest nuget version

    Thursday, August 15, 2019 1:39 PM
  • User388353 posted

    I set for nuget version 1.4.15.

    The clause [HotReloader.CSharpVisual] doest exists and i removed it.

    But anyway doesnt work .

    What need more?

    Thursday, August 15, 2019 6:56 PM
  • User198446 posted

    @RicoDev said: I set for nuget version 1.4.15.

    The clause [HotReloader.CSharpVisual] doest exists and i removed it.

    But anyway doesnt work .

    What need more?

    Code reloading is not available in version 1.4.15, XAML only

    Check documentation for setting up this plugin https://github.com/AndreiMisiukevich/HotReload

    Friday, August 16, 2019 8:42 AM
  • User388353 posted

    Ok, i did understand, but i mean about XAML only. Does NOT work on XAML and when looks like work, then changes is too slow on screen or doesn´t change nothing.

    Do I need to make any changes to my configuration?

    Friday, August 16, 2019 11:47 AM
  • User198446 posted

    @RicoDev said: Ok, i did understand, but i mean about XAML only. Does NOT work on XAML and when looks like work, then changes is too slow on screen or doesn´t change nothing.

    Do I need to make any changes to my configuration?

    Don't think you can do anything in case of it sometimes works for you.

    Friday, August 16, 2019 11:59 AM