Skip to content

Feature 'global using directive' is not available in C# 9.0. Please use language version 10.0 or greater. #227

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

Open
JesOb opened this issue Nov 25, 2024 · 0 comments

Comments

@JesOb
Copy link

JesOb commented Nov 25, 2024

Project auditor incorrectly compile project ignoring project serttings and csc.rcs files and as a result show compilation bugs like this

Steps to reproduce the behavior:

  1. Create new asmdef with any script and use C#10 syntax like global usings in int
  2. Create csc.rcs file along wit it and add -langversion:10 to it
  3. Run auditor and see errors

Expected behavior
No errors on C# 10 syntax

Screenshots
Image

Information

  • OS: Windows
  • Unity version 2022.3.52
  • Project Auditor version 0.11.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant