Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-4221

Fix packaging tests

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 2.17.0
    • Affects Version/s: None
    • Component/s: None
    • None

      Currently packaging tests failed for few reasons:
      1. We started using <langVersion>9</langVersion> attribute in our code, but dotnet creates test applications with version 7.3 by default. To fix it we need specifying version 9 during creating application
      2. .net 6 started using implicit global using by default that is not supported for TFs that we currently support. Locally if your system uses .net 6 by default, you need explicitly disable this feature. See for details: https://dotnetcoretutorials.com/2021/08/31/implicit-using-statements-in-net-6/

            Assignee:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Reporter:
            dmitry.lukyanov@mongodb.com Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: