我有一个基于Reactivefor前端和.net MVC为后端的网站。
我想在AppSettings中获取ConfigurationManager方法,但是VS告诉我,System.Configuration中没有ConfigurationManager类型名称。
我有关于System.Configuration的参考资料。我试过的其他问题,但都行不通。
如果我尝试使用methode AppSettings访问System.Web.Configuration.WebConfigurationManager.AppSettings,则会给出一个错误,即Configuration没有类型名称或命名空间。
有人能帮我解决这个问题吗?
发布于 2020-03-23 09:12:57
哦哇哦..。
使用nuGet,我必须搜索system.configuration,然后才能安装System.Configuration.ConfigurationManager
现在,它运作得很好
https://stackoverflow.com/questions/60773448
复制相似问题