Skip to content

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

Description

@JesOb

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions