【发布时间】:2018-02-21 22:54:46
【问题描述】:
我目前在从 WordNetdotNet 集成 WordNet 库时遇到问题。我在“Settings.Designer.cs”文件中收到来自 Unity 的编译错误:
错误 CS0234:命名空间“System.Configuration”中不存在类型或命名空间名称“ApplicationSettingsBase”。您是否缺少程序集参考?
下面是“Settings.Designer.cs”的代码
namespace Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
public static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
}
}
任何指导将不胜感激!
WordNetdotNet git:https://github.com/ebswift/wordnetdotnet
*Settings.Designer.cs 位于“Library > cs > Properties”文件夹中。
【问题讨论】:
-
你能用你可以分享的代码创建一个最小完整的可验证示例吗? stackoverflow.com/help/mcve
-
@CharlieJoynt 我编辑了帖子以包含代码
-
希望能回答的人早日出现。 :-)