Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Visual Studio not opening the c# code, only opens visual studio itself.

Discussion in 'Getting Started' started by alexandrotad, Jun 22, 2023.

  1. alexandrotad

    alexandrotad

    Joined:
    Jun 22, 2023
    Posts:
    1
    I am following the Unity course and ran into my first issue, Visual Studio is not opening the c# code when double clicking, only opens visual studio itself. Tried switching to Visual Studio Code, there it opens the code just fine, any idea why this is and how to fix it?
     
  2. RichAllen2023

    RichAllen2023

    Joined:
    Jul 19, 2016
    Posts:
    1,026
    Set Visual Studio Code as your default IDE, that'll solve the problem :D