C1001 Internal compiler error occurs when you build a Visual C++ project in Visual Studio 2013 Update 5

When you build a Visual C++ project in Visual Studio 2013 Update 5 that uses certain types from a .NET assembly, you may receive the following error message:
fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'f:\dd\vctools\compiler\cxxfe\sl\p1\c\esu.c', line 6378)
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, install this hotfix from here.
To work around this issue, don't use the last type referenced in the error message. Using that type in other .NET languages, such as C#, isn't affected by this issue. Therefore, a shim assembly can be created to provide indirect access to the affected type.
For more information about Visual Studio 2013 Update 5, see Description of Visual Studio 2013 Update 5.

Article ID: 3185410 - Last Review: 10/17/2016 05:34:00 - Revision: 3.0

Microsoft Visual Studio Professional 2013, Microsoft Visual Studio Premium 2013

  • kbsurveynew kbtshoot kbexpertiseadvanced KB3185410