This documentation is archived and is not being maintained.

Compiler Error CS1508

Visual Studio 2008

Resource identifier 'identifier' has already been used in this assembly

In a compilation, the same identifier (identifier) was passed to two or more /resource or /linkresource compiler options.

For example, the following options would generate CS1508:

/resource:anyfile.bmp,DuplicatIdent /linkresource:a.bmp,DuplicatIdent
Show: