[CSHARP-4221] Fix packaging tests Created: 17/Jun/22  Updated: 28/Oct/23  Resolved: 21/Jun/22

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.17.0

Type: Task Priority: Unknown
Reporter: Dmitry Lukyanov (Inactive) Assignee: Dmitry Lukyanov (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

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/



 Comments   
Comment by Githook User [ 21/Jun/22 ]

Author:

{'name': 'Dmitry Lukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}

Message: CSHARP-4221: Fix packaging tests. (#825)
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/dfcb4d491eb6944bfc019e2d5498394802ca8645

Generated at Wed Feb 07 21:47:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.