Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
CSS
How can i add reference dll for an asp .net application in IBM blue mix ? Am creating an asp.net application using IBM blue mix. I want to connect with Mongodb from my application. How can i add dll for Mongodb c# drivers from IBM blue mix ? Am using IBM git editor to edit my code. I don't see any reference folder in git editor. So where can i add this dll for Mongodb ?

I can see a project json file,

{
    "webroot": "wwwroot",
    "dependencies": {
        "Microsoft.AspNet.StaticFiles": "1.0.0-beta3",
        "Microsoft.AspNet.Mvc": "6.0.0-beta3",
        "Kestrel": "1.0.0-beta3"
    },
    "commands": {
        "web-kestrel": "Microsoft.AspNet.Hosting --server Kestrel"
    }
}

but not sure about this file. Do i need to configure here ?
Posted

1 solution

Hi Gayathri, Did you find a solution ? I've the same problem.

When I add refernce to mongodb c# driver this raise error during build

C#
Unable to resolve dependency mongocsharpdriver 2.2.0
1>C:\progetti\bluemix\bocconibeta\src\dotnetstarter\project.lock.json(1): error NU1006: Dependencies in project.json were modified. Please run "dnu restore" to generate a new lock file.
1>C:\progetti\bluemix\bocconibeta\src\dotnetstarter\project.json(14,26): error NU1001: The dependency mongocsharpdriver >= 2.2.0 could not be resolved.


Thanks for help
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900