将DLL添加到MVC中的引用 [英] Adding DLL's to references in MVC
问题描述
我有一个要求,我需要从外部文件夹添加实体框架DLL
我尝试过:
首先我从Nuget包控制台安装了实体框架版本6.1.3
获得新要求后我删除了已安装的DLL从引用和添加文件夹中的现有DLL
我通过转到DLL的属性并显示该文件夹的相同路径来检查DLL的路径/>
现在我的问题是我是否需要在Web Config文件中声明任何ASSEMBLY详细信息为了反映新的DLL更改,这里我不确定DLL是安装的还是来自文件夹
I have a requirement where I need to add Entity Framework DLL From external folder
What I have tried:
First I installed Entity framework version 6.1.3 from Nuget package console
After getting new requirement I deleted already Installed DLL from references and added existing DLL from the folder
I checked the path of the DLL by going to the properties of the DLL and its showing same path of the folder
Now My question is Do I need to declare any ASSEMBLY details in Web Config file In order to reflect the new DLL changes, here I am not sure the DLL is installed one or reference from the folder
推荐答案
的引用在同一属性窗口中,将选项copy local更改为true并查看问题是否已解决。
In the same properties window, change option "copy local" to true and see if the problem solved.
这篇关于将DLL添加到MVC中的引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!