Edit

Share via


MSB3568 diagnostic code

This article describes the MSB3568 error code.

Message text

MSB3568: Duplicate resource name 'value' is not allowed, ignored.

Description

This error occurs when a resource file has more than one resource with the same name.

Resolution

The resource name that has more than one occurrence is listed in the error message. If this is a manually maintained text resource file (.resx file) or binary resource file (.resources file), open the file in a resource editing tool such as Visual Studio, and manually remove the duplicate resources.

If the duplicate resource is from an automatically generated resource file, check the inputs to the script or tool that that modifies or generates the resource file.

For more information, see Create resource files for .NET apps.

Applies to

All versions of MSBuild