如何在Ibm Blue Mix中为Asp .Net应用程序添加引用DLL? [英] How Can I Add Reference Dll For An Asp .Net Application In Ibm Blue Mix?

查看:89
本文介绍了如何在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 ?

推荐答案

您好Gayathri,您找到了解决方案吗?我也遇到了同样的问题。



当我添加引用mongodb c#driver时,这会在构建期间出现引发错误



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

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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆