【问题标题】:compile error duplicate in c#在c#中编译错误重复
【发布时间】:2015-06-17 06:43:37
【问题描述】:

我在我的项目中添加了一个 cheditor,之后我遇到了这个错误:


错误 2 重复“AssemblyDescription” 属性\属性\AssemblyInfo.cs 错误 3 重复 'AssemblyConfiguration' 属性\Properties\AssemblyInfo.cs
错误 4 重复“AssemblyCompany” 属性\属性\AssemblyInfo.cs 错误 5 重复 “AssemblyProduct”属性\Properties\AssemblyInfo.cs
错误 6 重复“AssemblyCopyright” 属性\属性\AssemblyInfo.cs 错误 7 重复 “AssemblyTrademark”属性 \Properties\AssemblyInfo.cs
错误 8 重复“AssemblyCulture”属性 AssemblyInfo.cs
错误 9 重复的“ComVisible”属性 \Properties\AssemblyInfo.cs
错误 10 重复的“Guid”属性 \Properties\AssemblyInfo.cs
错误 11 重复“AssemblyVersion”属性
\Properties\AssemblyInfo.cs 错误 12 重复“AssemblyFileVersion” 属性...\Properties\AssemblyInfo.cs


【问题讨论】:

  • 我怎样才能解决这个错误?我看到了 msdn doc,但这对我没有帮助......因为这个错误是在添加 ckeditor 之后发生的。
  • 仅仅粘贴你的错误没有帮助,考虑添加一些描述。
  • 您究竟是如何添加 chkeditor 的?似乎您只是将所有源代码嵌入到项目中(而不是将其添加为参考)
  • 请阅读How to Ask,如果你被问到这个问题,你需要解决什么问题?
  • 亲爱的 Nissim 我将它添加为参考。我的 CkEditor 工作正常。但是当我想构建我的项目时,我遇到了这个错误。

标签: c# ckeditor


【解决方案1】:

这看起来像是AssemblyInfo.cs 文件中存在重复属性的情况。您可以删除 AssemblyInfo 文件并再次编译您的项目。

【讨论】:

  • tanx to your responsTbut I have done before and this error apers to me: HTTP Error 403.14 - Forbidden Web 服务器配置为不列出此目录的内容。
  • 这个链接可能会有所帮助:stackoverflow.com/questions/18981118/…
  • 这个错误发生在我身上是因为删除了汇编文件。我知道原因!但是 tanx :)
猜你喜欢
  • 2014-08-28
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2016-01-10
  • 1970-01-01
  • 2014-09-09
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多