[CSHARP-3626] Fix NuGet install fail Created: 29/Apr/21  Updated: 28/Oct/23  Resolved: 29/Apr/21

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

Type: Task Priority: Major - P3
Reporter: Mikalai Mazurenka (Inactive) Assignee: Mikalai Mazurenka (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CSHARP-4608 cannot install C# driver using Window... Closed
is related to CSHARP-3628 Update to Cake v1.1.0 Closed

 Description   

The recent change in NuGet client (Respect empty user-wide NuGet.Config file, no matter if there is a track file or not) made the nuget.exe install call failing on Evergreen Windows machines.
This could be fixed by having the NuGet.config file contain the default source or removing the global NuGet.config file entirely.
Temporary solution is to downgrade the NuGet version in the build.ps1 script.
 



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

Author:

{'name': 'MikalaiMazurenka', 'email': '55145764+MikalaiMazurenka@users.noreply.github.com', 'username': 'MikalaiMazurenka'}

Message: CSHARP-3626: Pin NuGet client version in the build script (#514)
Branch: v2.12.x
https://github.com/mongodb/mongo-csharp-driver/commit/6c8bd324f588c573a149a04fc44ce48552db7f26

Comment by Githook User [ 29/Apr/21 ]

Author:

{'name': 'MikalaiMazurenka', 'email': '55145764+MikalaiMazurenka@users.noreply.github.com', 'username': 'MikalaiMazurenka'}

Message: CSHARP-3626: Pin NuGet client version in the build script (#514)
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/cf5c661d1e299173c52d596dab793a0beceaf7d1

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