We are getting the following build error when building the C# Astrolabe runner:
[2024/11/05 23:56:19.945] C:\data\mci\f2ff7685c4b530964ca337cc17f109e1\astrolabe-src\mongo-csharp-driver\tests\MongoDB.Driver.Encryption.Tests\BasicTests.cs(640,29): error CS8370: Feature 'using declarations' is not available in C# 7.3. Please use language version 8.0 or greater. [C:\data\mci\f2ff7685c4b530964ca337cc17f109e1\astrolabe-src\mongo-csharp-driver\tests\MongoDB.Driver.Encryption.Tests\MongoDB.Driver.Encryption.Tests.csproj::TargetFramework=net472]
See the full log here.
It looks like MongoDB.Driver.Encryption.csproj is missing a reference to ../BuildProps/Tests.Build.props and is thus trying to build in C# 7.3 compat mode. Strangely it compiles correctly on my MBP.
- related to
-
DRIVERS-3044 Use per-driver HTTP services in Astrolabe instead of the unified spec test runner.
- Backlog