-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Summary
NuGet says it can't find a version of the C# driver to install on my Windows spawnhost after I install .NET 6.0 SDK
Please provide the version of the driver. If applicable, please provide the MongoDB server version and topology (standalone, replica set, or sharded cluster).
N/A
How to Reproduce
1. start windows-2022-small spawnhost.
2. download and run .NET 6.0.407 SDK installer.
3. in a Command Prompt, run dotnet new console and then dotnet add package MongoDB.Driver; expectation is that these commands work. Actual result is that NuGet says "There are no versions available for that package"
Additional Background
I just need to compile a simple test program that uses the C# driver, plus some things that need .NET 6.0. Is there a better spawnhost flavor to use? Should I give up and try using .NET on Linux instead?
- related to
-
CSHARP-3626 Fix NuGet install fail
- Closed
-
CSHARP-3798 Cannot install 2.13.1 MongoDB.Driver in latest Visual Studio Code
- Closed