This documentation is archived and is not being maintained.

Compiler Warning (level 2) CS0444

Predefined type 'type name 1' was not found in 'System namespace 1' but was found in 'System namespace 2'

A predefined object such as Int32 was not found where the compiler expected to find it, but instead found it in 'System namespace 2'.

The error could indicate that the .NET Framework is installed incorrectly. To fix this, reinstall the .NET Framework.

If you are writing your own base class libraries, you might also encounter this error. In this case, to resolve the error, rebuild mscorlib.

Show: