Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    RaonMaru
    @yyw10242
    alt
    Mihhail Maslakov
    @ionoy
    sorry for the delay guys
    @wTechnoo you can't update method that is currently running
    instead, you can extract the method and call it in a loop from Main for example
    @yyw10242 there is no project size limit for LiveSharp. the stackoverflow issue is probably caused by some other recently introduced change
    @Numilani_gitlab sure, please PM me your subscription email
    wTechnoo
    @wTechnoo
    oh my...
    thank you mihhail
    I was just being dumb this whole time
    Mihhail Maslakov
    @ionoy
    no problem :)
    you didn't really know how it works
    wTechnoo
    @wTechnoo
    Livesharp couldn't find xamarin forms start method
    how could I do it manually on the App?
    image.png
    oh I think I got it
    image.png
    wTechnoo
    @wTechnoo
    @ionoy
    image.png
    Getting this error when trying to launch my xamarin.forms app with livesharp installed
    Mihhail Maslakov
    @ionoy
    @wTechnoo yeah, this seems like a LiveSharp bug. can you share this project with me so I could take a look?
    a quick solution would be to only include types that you want to hot reload, for example types deriving from ContentPage
    Mihhail Maslakov
    @ionoy
    you can also try running livesharp server with debug argument, like livesharp debug
    this might give you more info
    wTechnoo
    @wTechnoo

    @wTechnoo yeah, this seems like a LiveSharp bug. can you share this project with me so I could take a look?

    I can't share, it's a business project, sorry

    I'll try getting more info with the debug livesharp

    a quick solution would be to only include types that you want to hot reload, for example types deriving from ContentPage

    Okay, thanks

    wTechnoo
    @wTechnoo
    @ionoy one more question, does this works with windows forms?
    Taylor
    @TaylorWatson
    image.png
    Hello everyone! Has anyone had this error before? It's so annoying, I just want to be able to reload lol
    I confirmed I've paid and have an active license. It looks like it can't connect to the server
    Mihhail Maslakov
    @ionoy
    @wTechnoo yeah, it should. But you'll need to write a custom handler in livesharp.dashboard.cs
    @TaylorWatson I've fixed it now, sorry for the inconvenience!
    Eric Brunner
    @ericbrunner
    @ionoy any idea what's wrong with my setup?
    image.png
    Eric Brunner
    @ericbrunner
    @ionoy Ah the issue is found. My PV was connected to my 5GHz WLAN and the Mobile Phone to my 2.4GHz WLAN from same Router. After setting both on the same WLAN all works well. Please at that to the troubleshooting Wiki.
    Mihhail Maslakov
    @ionoy
    @ericbrunner I think it's already there: Secondly, make sure that both the application and your developer machine are in the same network.
    Eric Brunner
    @ericbrunner
    @ionoy you are right.

    @ionoy What do I have to enter as Start method in platform specific
    Xamarin.Forms MainActivity and iOS AppDelegate into the Livesharp.dashboard.cs

    Droid:
    [assembly: LiveSharpStart(typeof(MainActivity), nameof(MainActivity.OnCreate), typeof(string[]))]

    iOS:
    [assembly: LiveSharpStart(typeof(AppDelegate), nameof(AppDelegate.FinishedLaunching), typeof(UIApplication), typeof(NSDictionary))]

    This?

    Eric Brunner
    @ericbrunner
    image.png
    @ionoy on Droid after a change in Platform Renderer I get disconnected. What's wrong with the setup?
    John Phillips
    @ivnext
    Is there a way to configure the port for LiveSharp to use? Kubernetes is using the default ports (50539/50540), so LiveSharp Server chooses another port on launch, but LiveSharp only tries to connect to the server on the default port and I cannot determine if/how I can configure the port usage.
    Mihhail Maslakov
    @ionoy
    @ericbrunner I don't really know what's going on there. Is your application actually stopping there or just LiveSharp?
    @ivnext yeah, that's a known problem. Let me see if I can fix that quickly.
    Mihhail Maslakov
    @ionoy
    @ivnext can you try this version? this should correctly timeout on connect and try the next port
    Eric Brunner
    @ericbrunner
    @ionoy is a few days ago. I will provide a full sample regarding my app setup and getting started problems
    Giampaolo Gabba
    @GiampaoloGabba
    hey @ionoy , i'm just here to say to keep it up with your work :) i'have tried the .net6 hot reload on an aspnetcore and is super underwelming. Your solution is far superior!
    For example in .net6 hotreload a simple edit of a viewbag completely broken the application at the second refresh....
    Eric Brunner
    @ericbrunner
    @ionoy here the screencast: http://somup.com/crQbQ9rpuF sample code is on the way
    Eric Brunner
    @ericbrunner
    @ionoy here is the sample code