【发布时间】:2015-05-28 04:51:13
【问题描述】:
我有一个 WinForms 应用程序中的另一个 .net 程序集 (ClientDetails) 引用的 .net 程序集(UserAppDetails)。
WinForms 应用程序调用 ClientDetails,而后者又调用 UserAppDetails。
但是,我收到以下错误。
An error occurred creating the configuration section handler for applicationSettings/UserAppDetails.Properties.Settings: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
在 app.config 中,我将以下内容添加到 ClientDetails app.config 和 WinForm app.config...
<section name="UserAppDetails.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
所有程序集和 WinForm 应用程序都是 3.5 版 有什么我想念的想法吗?
【问题讨论】:
-
你在dba.stackexchange.com/questions/162732/… 和
250 rep开始了一个赏金活动,现在你还没有登录dba.stackexchange,检查一下
标签: .net configuration .net-assembly