C# Tutorial: Adding Auto Update Feature in Windows Forms Application Using ClickOnce & GitHub

Поделиться
HTML-код
  • Опубликовано: 2 июн 2024
  • This method uses the ClickOnce interface to deploy your windows forms application (c# application) on GitHub for free! Use this method to push application changes to multiple clients using a simple GitHub hosted publish folder. I had a hard time finding resources illustrating this, hence making this video to make this process simpler for everyone.
    Link to the GitHub Repository: github.com/vib2810/WinFormsAu...
    Please Like - Comment - Subscribe if this was useful.
    Timestamps:
    00:00 - Introduction
    00:35 - Making GitHub Repository
    00:59 - Making the .NET App
    02:55 - Create /published folder
    04:55 - ClickOnce Publish
    07:43 - Install App
    08:15 - Push Update
    09:36 - Auto Update Test
    10:09 - Test on Remote PC
    #csharp #tutorial #autoupdate #dotnet #windowsforms #clickonce #github #update #dotnetcore

Комментарии • 42

  • @eyalgerber
    @eyalgerber Год назад

    This is exactly what I was looking for. Really simple and great solution. Thanks for the tutorial. I really appreciate it!

  • @emberprototypes
    @emberprototypes Год назад

    Such a great tutorial - this is exactly what we needed, thanks!

  • @erentekin5134
    @erentekin5134 Год назад

    Thanks for info!

  • @AltowaGamingYT
    @AltowaGamingYT Год назад

    Very informative ❤

  • @koemxe7986
    @koemxe7986 2 года назад +1

    3 years later after I was struggling with this and figured it out on my own, this is added. Nice job. Empowering others is always awesome, isn't it? ✌

    • @vib2810
      @vib2810  2 года назад +1

      Yep! My motivation was the same. I found no relevant videos illustrating this process, hence made this one! Thanks for the positive feedback!

  • @nikolaaa7180
    @nikolaaa7180 Год назад

    thanks, I was looking for this and could not find it.

  • @gaurangmohta168
    @gaurangmohta168 2 года назад +1

    Good feature. Thanks to your brother, you have reached this far

  • @yash12khandelwal
    @yash12khandelwal 2 года назад +1

    Nice video

  • @TechnoToxs
    @TechnoToxs 9 месяцев назад

    please make a video for gitlab same technique

  • @abhinavgupta7930
    @abhinavgupta7930 2 года назад +1

    Way to go mohta!

    • @vib2810
      @vib2810  2 года назад +1

      Haha! I had a hard time adding this feature, so thought to make this process simpler for others XD

  • @mayankgovindagrawal5849
    @mayankgovindagrawal5849 2 года назад +1

    Gawd

  • @TechnoToxs
    @TechnoToxs 9 месяцев назад

    Does the same process work for gitlab also

  • @sjkc132
    @sjkc132 Год назад

    Hello. I find this Error : "application validation did not succeed unable to continue", can you help me 🥲😭

  • @nikhilphadtare4442
    @nikhilphadtare4442 Год назад

    Thanks for Video @Vibhakar. How to make install compulsory or disable skip button for installer. Also published folder exe is stored in zip. it will work ?

    • @vib2810
      @vib2810  Год назад

      stackoverflow.com/questions/3103534/making-clickonce-updates-mandatory
      About the .zip I don't think that will work. You can try it out in a dummy project

  • @charlesmarchand9098
    @charlesmarchand9098 2 месяца назад

    I dont think this works anymore correct ?

  • @ACertainWebDeveloper
    @ACertainWebDeveloper Год назад +2

    Could it be done with a private github repository?

    • @kitsunesuzuka1029
      @kitsunesuzuka1029 Год назад

      Up for this, Is there any way to do it on private repo

  • @enigeregine
    @enigeregine 2 года назад

    hello sir. I have a problem while committing. Git failed with a fatal error.
    error: open("foldername/.vs/foldername/v15/Server/sqlite3/db.lock"): Permission denied
    fatal: Unable to process path foldername/.vs/foldername/v15/Server/sqlite3/db.lock . This error is showing up. Can u help me sir T.T . Thank u so much

    • @vib2810
      @vib2810  2 года назад

      Maybe add .vs to gitignore, or try comitting with vs code

  • @TechnoToxs
    @TechnoToxs 9 месяцев назад

    I really need your help

  • @TechnoToxs
    @TechnoToxs 9 месяцев назад

    i really need your help

  • @TechnoToxs
    @TechnoToxs 9 месяцев назад

    Hlo

  • @KrakenZYT
    @KrakenZYT Год назад

    How to create desktop shortcut?

    • @vib2810
      @vib2810  Год назад

      There is an option in the installer configuration for that

    • @KrakenZYT
      @KrakenZYT Год назад

      @@vib2810 Yea thanks. Do you know any way to get verified to avoid the unknown publisher during installation?

    • @vib2810
      @vib2810  Год назад

      stackoverflow.com/questions/50798602/signed-clickonce-app-gives-publisher-could-not-be-verified
      Check this out

  • @ronitshrivastav2039
    @ronitshrivastav2039 Год назад

    can you please help me

  • @maximilianojuega17
    @maximilianojuega17 Год назад +1

    im getting error 400: Invalid request, using my github raw link..

    • @vib2810
      @vib2810  Год назад

      Can you provide more details about the error?

    • @liamcodes
      @liamcodes Год назад +1

      I get this error as well, I believe it's a result of using this method on a private git repo. If you navigate to your .gitattributes file in the GitHub file explorer, then click the "RAW" button in the top left of the text viewer, it will direct you rot the raw view of the file like it did in this video. If you look at the URL you will see there is a token appended to the end of the URL (do to the repo being private). I'm not sure if you can just use the token in your ClickOnce publish profile or not.

    • @vib2810
      @vib2810  Год назад

      @@liamcodes I tried the token method but couldn't get through. It needs access to stuff inside the folder, and it just appends to the URL you provide to access them (thinking that it follows a folder structure). The token at the end hampers this folder structure so won't work.

    • @KrakenZYT
      @KrakenZYT Год назад

      @@vib2810 I am getting the same error. What should I do now?

    • @vib2810
      @vib2810  Год назад

      @@KrakenZYT can you provide more details

  • @TechnoToxs
    @TechnoToxs 9 месяцев назад

    can u please help

  • @yashoamonkar
    @yashoamonkar 2 года назад +1

    Audio is too low

    • @vib2810
      @vib2810  2 года назад

      Yep! My microphone sucks😂