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
This is exactly what I was looking for. Really simple and great solution. Thanks for the tutorial. I really appreciate it!
Such a great tutorial - this is exactly what we needed, thanks!
Thanks for info!
Very informative ❤
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? ✌
Yep! My motivation was the same. I found no relevant videos illustrating this process, hence made this one! Thanks for the positive feedback!
thanks, I was looking for this and could not find it.
Good feature. Thanks to your brother, you have reached this far
🎉
Nice video
please make a video for gitlab same technique
Way to go mohta!
Haha! I had a hard time adding this feature, so thought to make this process simpler for others XD
Gawd
Does the same process work for gitlab also
Hello. I find this Error : "application validation did not succeed unable to continue", can you help me 🥲😭
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 ?
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
I dont think this works anymore correct ?
Could it be done with a private github repository?
Up for this, Is there any way to do it on private repo
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
Maybe add .vs to gitignore, or try comitting with vs code
I really need your help
i really need your help
Hlo
How to create desktop shortcut?
There is an option in the installer configuration for that
@@vib2810 Yea thanks. Do you know any way to get verified to avoid the unknown publisher during installation?
stackoverflow.com/questions/50798602/signed-clickonce-app-gives-publisher-could-not-be-verified
Check this out
can you please help me
im getting error 400: Invalid request, using my github raw link..
Can you provide more details about the error?
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.
@@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.
@@vib2810 I am getting the same error. What should I do now?
@@KrakenZYT can you provide more details
can u please help
Audio is too low
Yep! My microphone sucks😂