[CSHARP-1673] How to install the MongoDb csharp driver for ASP.net Created: 21/May/16 Updated: 03/Dec/20 Resolved: 03/Dec/20 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | API |
| Affects Version/s: | 2.2.4 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | Andrew Kralovec | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | driver, question | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Distributor ID: Ubuntu |
||
| Description |
|
I have made a new ASP.net 5 project and I want to be able to use the MongoDb database. Therefore i need the mongoDb driver, but dnx/dnu/dnvm don't work with the new RC2. So I was looking for a way to install the MongoDb driver without using dnx/dnu/dnvm. Since CLI dotnet does not have an installer, i think i have to use the project.json file. I tried adding the driver to the project.json "dependencies": { , However this leads to errors whenever I try using using MongoDB.Driver; |
| Comments |
| Comment by Jeffrey Yemin [ 03/Dec/20 ] |
|
Apologies for not answering this question when it was first asked. Closing as Gone Away since it's most likely no longer relevant. |