Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standard C# libs(System, etc.) giving errors in VSCode until the project solution is built #60266

Open
atirut-w opened this issue Apr 15, 2022 · 2 comments

Comments

@atirut-w
Copy link
Contributor

Godot version

v3.4.4.stable.mono.official [419e713]

System information

Fedora 35

Issue description

When you initially create a C# script and open it in VSCode(with C#, Mono Debug and C# Godot Tools extensions installed), there are errors that do not make sense such as using System; not working.

Screenshot-2022-04-15,13-41-51

They all go away after running the project(and thus building the project solution) and optionally restarting OmniSharp

Steps to reproduce

  1. Create a project
  2. Create a new C# script
  3. A bunch of errors about System not being there
  4. Run the project
  5. Optionally restart OmniSharp
  6. Errors are gone

Minimal reproduction project

No response

@Flavelius
Copy link
Contributor

Somewhat related to that, even when downloading c# addons from the asset library there are similar errors.
I think there are certain valid points in the pipeline where an automatic build/compile, triggered by godot should alleviate many problems.

@Calinou
Copy link
Member

Calinou commented Apr 15, 2022

Related to godotengine/godot-proposals#849.

@Calinou Calinou added the bug label Apr 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants