[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

error CS1508: The resource identifier `bla' has already been used in this assembly



[CC me please]

Dear all,

  I am trying to package: Be.HexEditor
(http://hexbox.sourceforge.net/). However the build keeps on failing
with:

$ wget http://sourceforge.net/projects/hexbox/files/hexbox/Be.HexEditor%201.5.0/Be.HexEditor.150.zip
$ unzip Be.HexEditor.150.zip
$ cd Be.HexEditor.150
$ xbuild sources/Be.HexEditor.sln
[...]

			Target CoreCompile:
				Tool /usr/bin/gmcs execution started with arguments: /noconfig
/debug:full /delaysign- /debug+ /keyfile:Be.HexEditor.snk /optimize-
/out:obj/Debug/Be.HexEditor.exe
/resource:obj/Debug/Be.HexEditor.BitControl.resources
/resource:obj/Debug/Be.HexEditor.FormAbout.resources
/resource:obj/Debug/Be.HexEditor.FormAbout.resources
/resource:obj/Debug/Be.HexEditor.FormFind.resources
/resource:obj/Debug/Be.HexEditor.FormFind.resources
/resource:obj/Debug/Be.HexEditor.FormGoTo.resources
/resource:obj/Debug/Be.HexEditor.FormGoTo.resources
/resource:obj/Debug/Be.HexEditor.FormHexEditor.resources
/resource:obj/Debug/Be.HexEditor.FormHexEditor.resources
/resource:obj/Debug/Be.HexEditor.FormOptions.resources
/resource:obj/Debug/Be.HexEditor.FormOptions.resources
/resource:obj/Debug/Be.HexEditor.strings.resources
/resource:obj/Debug/Be.HexEditor.strings.zh-Hans.resources
/resource:obj/Debug/Be.HexEditor.UCAbout.resources
/resource:obj/Debug/Be.HexEditor.UCAbout.resources
/resource:obj/Debug/Be.HexEditor.images.resources
/resource:obj/Debug/Be.HexEditor.App.ico
/resource:obj/Debug/Be.HexEditor.Resources.ThanksTo.rtf
/resource:obj/Debug/Be.HexEditor.Resources.Changes.rtf
/resource:obj/Debug/Be.HexEditor.Resources.license.txt
/resource:obj/Debug/Be.HexEditor.Images.Logo.png BitControl.cs
BitControl.designer.cs BitInfo.cs FormOptions.cs
FormOptions.Designer.cs images.Designer.cs Properties/AssemblyInfo.cs
FormAbout.cs FormFind.cs FormGoTo.cs FormHexEditor.cs
FormHexEditor.Designer.cs Program.cs Properties/Settings.Designer.cs
RecentFileHandler.cs RecentFileHandler.Designer.cs strings.Designer.cs
UCAbout.cs Util.cs /target:winexe /warnaserror- /unsafe+ /checked-
/define:"DEBUG;TRACE" /reference:/usr/lib/mono/2.0/System.dll
/reference:/usr/lib/mono/2.0/System.Data.dll
/reference:/usr/lib/mono/2.0/System.Drawing.dll
/reference:/usr/lib/mono/2.0/System.Windows.Forms.dll
/reference:/usr/lib/mono/2.0/System.Xml.dll
/reference:/tmp/be/Be.HexEditor.150/sources/Be.Windows.Forms.HexBox/bin/Debug//Be.Windows.Forms.HexBox.dll
/reference:/usr/lib/mono/2.0/mscorlib.dll /warn:4
: error CS1508: The resource identifier
`Be.HexEditor.FormAbout.resources' has already been used in this
assembly
: error CS1508: The resource identifier
`Be.HexEditor.FormFind.resources' has already been used in this
assembly
: error CS1508: The resource identifier
`Be.HexEditor.FormGoTo.resources' has already been used in this
assembly
: error CS1508: The resource identifier
`Be.HexEditor.FormHexEditor.resources' has already been used in this
assembly
: error CS1508: The resource identifier
`Be.HexEditor.FormOptions.resources' has already been used in this
assembly
: error CS1508: The resource identifier
`Be.HexEditor.UCAbout.resources' has already been used in this
assembly



It looks like Be.HexEditor.FormAbout.resources is being duplicated in
the compilation line, which makes gmcs unhappy.

Any hint welcome !

Thanks


Reply to: