averageCOMRE Try to run a C# script in a fresh project, without any VSC involvement. That way you'll know if the issue is with Godot or with VSC setup.

well it did
i wrote a code which printed "hello world" [ GD.print( "Hello world" ) ], in the default text editor of godot , and it ran fine . so this means that there is problem with the setup of vs code , but please do keep in mind that i did this in godot 3.5.3

  • xyz replied to this.

    averageCOMRE I meant to try it in the exact version you were setting up VSC for.

    well in that case i had already did it
    it didnt work

    • xyz replied to this.

      averageCOMRE well in that case i had already did it
      it didnt work

      You've typed a simple C# script directly into Godot's text editor in a completely fresh project? Then rebuild and pressed play?

      It "didn't work" in what way?

      well yes , it is giving the same error as before , that it could not instance the script because the associated class could not be found

      • xyz replied to this.
        a month later

        the problem seems to have magically solved itself , i can now run scripts c# nicely . Although i have a bit of a doubt , how do i balance game dev and c# coding in general? Like game dev is my main priority but making c# applications seems hella cool to me aswell , i just want a way to balance both these things nicely .
        Also sorry for being inactive for so long, got carried away by school work