Custom config section: Could not load file or assembly

前端 未结 7 2248
死守一世寂寞
死守一世寂寞 2020-12-15 05:50

I\'m having a very hard time trying to access a custom configuration section in my config file.

The config file is being read from a .dll that is loaded as a plug-in

7条回答
  •  鱼传尺愫
    2020-12-15 06:10

    In your main applications config file, add the following (where plugins is the folder for your assembly to load from. You can use multiple paths semi-colon separated.

    
        
            
        
    
    

    Taken from http://msdn.microsoft.com/en-us/library/823z9h8w%28v=vs.90%29.aspx

提交回复
热议问题