本文介绍了如何在Ibm Blue Mix中为Asp .Net应用程序添加引用DLL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
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 ?
推荐答案
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
这篇关于如何在Ibm Blue Mix中为Asp .Net应用程序添加引用DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!