How to add assembly in web.config file of mvc 4

后端 未结 2 758
太阳男子
太阳男子 2020-12-09 08:38

I have a \"MVC 4\" project and i want to add an assembly to web.config file but i don\'t know where should i put it. I try any ways but i cant find the solu

2条回答
  •  难免孤独
    2020-12-09 08:41

    It is quite simple. Look at your compilation section in your web.config:

    
    

    Now open the section and put your assembly inside like this:

    
      
        
      
    
    

    Libraries in this section are checked in compilation time, it has nothing to do with runtime binding.

提交回复
热议问题