Could not load file or assembly 'System.Configuration.ConfigurationManager, Version=4.0.3.0 [duplicate]

|▌冷眼眸甩不掉的悲伤 提交于 2020-07-16 10:38:50

问题


I have a .net core 3.1 console application which is using a .net framework 4.6.1 class library. I am getting the below exception when running the console application. I have added the System.Configuration.ConfigurationManager version 4.4.0 to both the projects.

System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Configuration.ConfigurationManager, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.'

I am not able to fix it, please help.

来源:https://stackoverflow.com/questions/62793231/could-not-load-file-or-assembly-system-configuration-configurationmanager-vers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!