You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In lesson 33 you provide a sample html of the JSON.NET NuGet package site. It seems like the NuGet team has removed the this version indicator from their sites now.
Sample HTML
Live Site
Therefore the parsing logic to indicate the current version in your sample solution doesn't work anymore.
First solution that comes to my mind: get highest version where version string doesn't contain any dashes (eg 1.0.0.1, 2.5.8, 12.3, 16).
Second solution: use the HTML provider and check for the bg-info css class (which seems to indicate the current version on their site now):
What do you think?
The text was updated successfully, but these errors were encountered:
In lesson 33 you provide a sample html of the JSON.NET NuGet package site. It seems like the NuGet team has removed the this version indicator from their sites now.
Sample HTML
Live Site
Therefore the parsing logic to indicate the current version in your sample solution doesn't work anymore.
First solution that comes to my mind: get highest version where version string doesn't contain any dashes (eg 1.0.0.1, 2.5.8, 12.3, 16).
Second solution: use the HTML provider and check for the bg-info css class (which seems to indicate the current version on their site now):
What do you think?
The text was updated successfully, but these errors were encountered: