C# Auto Updater Library Tutorial - 4 - SharpUpdateXml class

preview_player
Показать описание
This is the BEST .NET auto updater on YouTube!

In the C# Auto Updater Tutorial series, we learn how to create a library that will allow you to update any .NET application from the web. SharpUpdate (the library we create) is a multi-threaded .NET application updater that won't freeze any Windows Forms applications while checking for updates or downloading them. Follow along if you want to learn how to make this awesome application updater!

Рекомендации по теме
Комментарии
Автор

Awesome, glad it's working again now with .NET 4!

BetterCoder
Автор

if you have a problem with `version =
change .net version at 4.0
solution properties for both project
properties->application-> target framework -> .net 4

MajorMarcin
Автор

You are a hero Sir. Thank you. I just wanna update everybody, this tutorial is missing something compared to the actual project. From the SharpUpdateXml Parse Method=> PUT THIS INSIDE TRY :

= (s, ce, ch, ssl) => true;

Got that from his SharpUpdate-Master on github. :) THANKS THANKS THANKS. you'll be in my Acknowledgement Sir...

jecbasco
Автор

Cheers mate, it requires at least .NET 4.0
Thanks and if i finish i make sure to put your credits in the code :)

brunotillers
Автор

My best guess is that you are compiling against a lower version of the .NET Framework. Go into your project Properties and see what version of the .NET Framework you are using. I believe this requires .NET 3.5 and higher.

BetterCoder
Автор

That error can be fixed by making the variable name "uri" in the "internal Uri uri" property to have an uppercase U. This is because the compiler is confused between the property name and the private field uri.

BetterCoder
Автор

Hello im coding you project and again error in UpdateXml.cs vel old name (LastUpdate). I show you line code in error this is not get return true for create object collecting not null variable, but why result is null? Look code:
UpdateXml arg = null;
try{

look it`s null return why? -> arg = new UpdateXml(version, new Uri(url), fileName, md5, description, launchArgs);
return arg;
its error this -> //return new UpdateXml(version, new Uri(url), fileName, md5, description, launchArgs);
}catch{ return null; }

Why return error?


:/

marcinkubiak
Автор

Hi mate nice tuts you have, im stuck in the parse part
version =
i was on the next vid but this stopped me i know you changed the latestVersion and url with lower cases etc, but am i missing something here, i get error on parse its red underlined...
Thanks in advance

brunotillers
Автор

Hey dude you need to re write this hole class there is errors copy word from word

madamsmith
Автор

You need to check your spelling and capitalization in your code, and match it with mine in the videos. The reason that error is coming up is because the property "Uri" should have a capital U. Also, you spelled SharpUpdate wrong, but that's not a huge issue as long as you keep using Sharpudate

BetterCoder
Автор

nvm got it :D i am realy Dumb and i will lso sub to all your vids :D cuz they are awesome

branchyapple
Автор

System.Version does not contain a definition for 'parse'

brunotillers
Автор

why is it so hard to put the source code in the description

swagz
Автор

got this error ate uri Error 2 Ambiguity between and studio

branchyapple
Автор

Hi Pro!
Can you send me this project for studying? Thanks!

huynhtien
Автор

uh bro i watched you turt again and again and still get that error D:

branchyapple
Автор

Can someone post the source on Github ?

epicpengu