mongodb-labs / drivers-atlas-testing

Drivers Atlas Testing
Apache License 2.0
8 stars 27 forks source link

Update .NET build SDK version to 6.0 #147

Closed matthewdale closed 2 years ago

matthewdale commented 2 years ago

The .NET driver started failing recently (e.g. here) with an error message like:

error NETSDK1045: The current .NET SDK does not support targeting .NET 6.0.  Either target .NET 5.0 or lower, or use a version of the .NET SDK that supports .NET 6.0. [/mongo-csharp-driver/tests/MongoDB.Bson.Tests/MongoDB.Bson.Tests.csproj]

It seems to be related to https://github.com/mongodb/mongo-csharp-driver/pull/873, which updates the target framework for the MongoDB.Bson.Tests.csproj file.

Update the .NET build script to download v6.0 instead of v5.0