Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

parse html

Discussion in 'Scripting' started by pcsh0, Jul 5, 2017.

  1. pcsh0

    pcsh0

    Joined:
    Oct 30, 2016
    Posts:
    9
    can someone point me in the right direction on how to do this with unity and .net 2.0?

    When I look up c# parsing, I get referenced to packs like the htmlagilitypack which is designed for .net 4.5 which is not one unity uses. Not super sure on what sources of information I should be looking up to figure this out. Almost feel like I should be trying to do this with standard library .net 2.0 provides but I'm not sure if that is right.
     
  2. Brathnann

    Brathnann

    Joined:
    Aug 12, 2014
    Posts:
    7,144
    I was looking for this not long ago, but couldn't find one that worked with 2.0. I ended up just going with unity 2017 and switching to the .net 4.6. It still says experimental, but seems to work ok.

    I then went with AngleSharp, which does the html parsing and works fairly well from what I see.
     
    moldywarpe and larku like this.
  3. DevDuFF

    DevDuFF

    Joined:
    Jan 3, 2013
    Posts:
    17
    @Brathnann How did you use AngleSharp with Unity 2017?
    edit: nevermind, I had to update Visual Studio Tools for Unity
     
    Last edited: Jul 6, 2017