Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Vincent Hoogendoorn
    @VincentH-Net

    Headsup: today at 5-7 PM EST @rdavisau and @davidortinau will live stream on Twitch using CSharpForMarkup!

    Don't miss it!

    Mihhail Maslakov
    @ionoy
    :thumbsup:
    Vincent Hoogendoorn
    @VincentH-Net
    @rdavisau did a great job demoing and explaining CSharpForMarkup. In combination with hot reload too. Check it out: https://www.twitch.tv/videos/441875218
    mikescandy
    @mikescandy
    hi! loved the twitch stream :) i have a question: did you do anything special to use livesharp or it worked out of the box?
    Vincent Hoogendoorn
    @VincentH-Net
    @mikescandy Thx! I'm currently using LiveSharp 1.2.1 To get it working in VS 2019. That version is not in the VS MarketPlace yet, but if you ask @ionoy in https://gitter.im/LiveSharp/Lobby he will give you a recent build.
    Also to get LiveSharp working you may need to start LiveSharp (i.e. open a Xamarin solution in VS) before other apps that use the same port range, e.g. I had that with AnyDesk and Skype for Business audio call. If you have a port conflict you'll see a connection error message in one of the 2 console windows that LiveSharp opens
    mikescandy
    @mikescandy
    thanks, i found the vsix in the livesharp gitter. also, i was having problems because I use Prism, and the template adds and empty app constructor besides the one with the platform initializer. i had to update the rules file to pick the correct app constructor. after that it worked. i have to say that i used to like xaml+mvvm, but your extensions + hot reload felt incredible !
    Vincent Hoogendoorn
    @VincentH-Net
    Thanks @mikescandy! Mind if I quote you on that on Twitter?
    mikescandy
    @mikescandy
    :D please do!
    Luce Carter
    @LuceCarter
    Hey everyone, excited to be here :) loving CSharpForMarkup so far. Ended up staying up 2 hours too late because I was so distracted making a login page last night :)
    Vincent Hoogendoorn
    @VincentH-Net
    :) You're welcome Luce!
    mikescandy
    @mikescandy
    quick question: is there a quick way to setup a flexlayout bindablelayout with a templateselector?
    Vincent Hoogendoorn
    @VincentH-Net
    There are flexlayout helpers for alignself, grow etc, nothing built in for setting up a templateselector, typically I create a separate read-only property to build the templateselector, so the flexlayout markup itself stays simple
    Vincent Hoogendoorn
    @VincentH-Net
    Actually I did not need any bindablelayout yet, but I'll look into what may be useful to add. Other needs / ideas?
    Vincent Hoogendoorn
    @VincentH-Net
    @mikescandy
    Vincent Hoogendoorn
    @VincentH-Net
    xfpr.png

    Newsflash : CSharpForMarkup to be incorporated in Xamarin Forms - vote now!

    Head on over to the xamarin/Xamarin.Forms#8342 and like/thumbs/hurrah the PR:

    This is what the Xamarin Forms team looks at when deciding if/when to accept the PR.
    So if you want CSharpForMarkup to be supported by MS and to grow with Forms, make your vote count!
    Also chime in in the PR comments if you have ideas. Thanks!

    Bengt Ericsson
    @Zolomon
    Heya
    What's needed to get this to work for ordinary WPF?
    Also, is this usable without LiveSharp?
    Will Xamarin.Forms include LiveSharp as a tool?
    Vincent Hoogendoorn
    @VincentH-Net
    Hi, the same
    Vincent Hoogendoorn
    @VincentH-Net
    approach can be used to create a version for WPF. For a WPF savvy Dev it's probably quite feasible to rewrite the Forms version (esp the bind functions) to use the WPF framework. So what is needed is a WPF savvy Dev and an PR. I d be happy to review. Know anyone?
    Yes it can be used fine without livesharp. There is nothing specific to livesharp in csharpformarlup.
    Xamarin is working on hot reload for c#, but they won't include livesharp
    Luis Matos
    @luismts
    Amen for C# hot reload
    PatrickRyder
    @PatrickRyder
    Is there any way to create a Style.Trigger using this code-based method or am I missing the point entirely?