Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Mihhail Maslakov
    @ionoy
    didn't fix the async issues yet
    btw, could you PM me the code that causes "Code unreachable" error?
    Tobias Bartsch
    @oiBio

    Good morning @ionoy your fix worked and you even implemented a real hot reload (without the need to refresh) ! Awesome!
    The Code unreachable was related to Expressions, when i changed the code so the expression happens in another class it worked

    i try to give you your project, so you can test a real life application. but i need some time

    Mihhail Maslakov
    @ionoy
    @oiBio morning
    Pranshu Aggarwal
    @pranshu-aggarwal
    Hi @ionoy , I have little feature request. Is it possible to implement a feature where if the device is not connected to livesharp server then server will save the changes locally and send it to mobile app as soon as app reconnect to livesharp server?
    Mihhail Maslakov
    @ionoy
    @pranshu-aggarwal it's possible, yes. the application will still need to connect at least once for server to load project information
    Pranshu Aggarwal
    @pranshu-aggarwal
    yeh yeh that definitely makes sense
    If It is implemented then I will start using live sharp for my productions app
    Damir Bulic
    @dbulic

    Just saw a fantastic Blazor update video posted today on YouTube by @ionoy (https://www.youtube.com/watch?v=MCh5-44UBpM) and purchased a license right away.

    However:
    18:04:22 Starting job: Handling Razor update: Views\OverviewView.razor
    18:04:22 Error: Couldn't find C# code file for Views\OverviewView.razor
    18:04:22 Ended job: Handling Razor update: Views\OverviewView.razor (351)

    OverviewView.razor and OverviewView.razor.cs files are separate and in the same folder, but that should be a pretty common scenario. I wonder if I need a prerelease build of the server considering a YouTube video is from today?

    Damir Bulic
    @dbulic
    Tried getting rid of the razor.cs file and placed everything into code section:
    18:30:05 Application NuGet package version: 1.1.56
    18:30:05 Workspace loading finished in 156ms
    18:30:05 watcher created for at C:\dev\OmniLoader\App\
    18:30:05 Starting job: Dry run for OmniLoaderApp
    18:30:05 Ended job: Dry run for OmniLoaderApp (187)
    18:30:31 Warning: Can't find document for C:\dev\OmniLoader\App\Views\IndexView.razor
    18:30:31 Starting job: Handling Razor update: Views\IndexView.razor
    18:30:31 Warning: C:\dev\OmniLoader\App\Views\IndexView.razor(173,31): error CS1503: Argument 1: cannot convert from 'OmniLoaderApp.Views.IndexView' to 'IndexView'
    18:30:31 Ended job: Handling Razor update: Views\IndexView.razor (92)
    Damir Bulic
    @dbulic

    One more bug - paste this in Index.razor over everything else, so it's really a minimal example. It crashes LiveSharp when I change abcd text and save.

    @page "/"

    <h2>@SelectedDatabase</h2>

    abcd

    @code
    {
    string SelectedDatabase { get; set; }
    }


    LiveSharp.Runtime.ExpressionDeserializer+DeserializationException: Deserialization failed for:

    <Property>
    <Constant>
    <This />
    </Constant>
    <Type Assembly="BlazorApp2, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
    <S>BlazorApp2.Pages</S>
    <S>Index</S>
    </Type>
    <S>SelectedDatabase</S>
    </Property>
    ---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
    at LiveSharp.Runtime.ExpressionDeserializer.DeserializeProperty(Object[] children)
    at LiveSharp.Runtime.ExpressionDeserializer.Deserialize(XNode node, Scope scope)

    Mihhail Maslakov
    @ionoy
    @dbulic I'll be able to help you tomorrow. Unfortunately, it's a late evening for me already, and I'm not at work.
    What timezone are you?
    Damir Bulic
    @dbulic
    I'm in your timezone, ping me in the morning and I will take some time aside to help you reproduce.
    Mihhail Maslakov
    @ionoy
    Alright, sure
    Damir Bulic
    @dbulic
    @ionoy, ready when you are.
    Mihhail Maslakov
    @ionoy
    I've PM'd you
    Viktor Szekeress
    @ViktorSze_twitter
    Hi Mihhail, I'm experiencing NullReferenceException coming from LiveSharp.Support.XamarinForms.XamarinFormsInspector.OnCurrentPageChanged
    livesharp_exception_02.jpg
    it occurs right after app starts
    _properties is null here
    image.png
    Mihhail Maslakov
    @ionoy
    @ViktorSze_twitter it probably happens too early in the initialization process...
    I'll take a look at it tomorrow
    Mihhail Maslakov
    @ionoy
    @ViktorSze_twitter please try this NuGet to see if it fixes the issue
    Mihhail Maslakov
    @ionoy
    @/all Guys, I want to ask you for a small favor. I'm starting to market LiveSharp to a broader audience, and it would be really good to have some testimonials from the actual users. If you are already using LiveSharp in your daily work, and agree to appear on the site with a small quote, please PM me. This would go a long way to make LiveSharp successful and a better product. Thanks!
    Viktor Szekeress
    @ViktorSze_twitter
    Hi @ionoy , I'm now able to run the app. However, I get an NRE anytime I try to update the XAML or C#:
    livesharp_exception_03.jpg
    livesharp_exception_04.jpg
    livesharp_exception_05.jpg
    Mihhail Maslakov
    @ionoy
    @ViktorSze_twitter is it happening on XAML update or C#?
    please try now
    Viktor Szekeress
    @ViktorSze_twitter
    @ionoy thanks, it's better. Updating XAML works fine, but I'm still experiencing issues when updating C# code:
    I changed Page.BackgroundColor from page constructor. It didn't see any change after changing the file. So I navigated back and then forward again to given page. That end up again with NRE:
    livesharp_exception_07.jpg
    livesharp_exception_08.jpg
    Mihhail Maslakov
    @ionoy
    @ViktorSze_twitter you should define a Build method where all the initialization takes place
    you can find more info here: https://www.livesharp.net/help/ (scroll to the end)
    Viktor Szekeress
    @ViktorSze_twitter
    Does that mean, that I cannot change the code outside of Build() method? Like properties, static classes etc.?
    Mihhail Maslakov
    @ionoy
    You can. But the Build method is the only thing that will be called after the update.
    vanderstack
    @vanderstack
    Does Livesharp support blazor web assembly?
    vanderstack
    @vanderstack
    Nevermind, noticed on twitter feed that because it may be included in .Net 5.0 the feature request is on hold to avoid wasting effort.
    Mihhail Maslakov
    @ionoy
    @vanderstack yeah, server-side Blazor only for the moment
    vanderstack
    @vanderstack
    Any free license for students?
    or just Microsoft MVPs?
    Mihhail Maslakov
    @ionoy
    @vanderstack I don't offer free licenses for students at this point. Although, I can grant you one if you can help me with some testing.
    vanderstack
    @vanderstack
    Thanks! I think I can do that as long as you're only expecting an hour or two every now and then, rather than a part-time/regular gig. I like the concept behind the tool, however I haven't started the free trial yet and so I'm not sure how regularly I'll be using it, but I do like to help out and hang around on gitter on the weekends
    I'm hoping to be a regular user, this tool look really cool and like it adds a lot of convenience
    Mihhail Maslakov
    @ionoy
    @vanderstack sure, that's what I meant. anyway, please PM me if you have any questions, I'll be happy to help