Search Unity

How do you change the target C# version for Visual Studio?

Discussion in 'Editor & General Support' started by OFFICIAL_bryanw, Dec 7, 2018.

  1. OFFICIAL_bryanw

    OFFICIAL_bryanw

    Joined:
    Jul 6, 2018
    Posts:
    36
    Hey All,

    I recently imported a package that uses C# 7.2 features, but my Unity projects all default to C# 7.0. I'm using the 4.x runtime equivalent and I'm on Unity 2018.3.0b12

    Cheers,
    Bryan
     
  2. OFFICIAL_bryanw

    OFFICIAL_bryanw

    Joined:
    Jul 6, 2018
    Posts:
    36
  3. recursive

    recursive

    Joined:
    Jul 12, 2012
    Posts:
    669
    This seems like you should move / repost in Scripting or 2018.3 beta forums.

    I use Rider's manual override at present, but obviously that's not going to work for VS. Not sure what the solution offhand is.
     
    OFFICIAL_bryanw likes this.