Error: Mixed mode debugging is supported only when using Microsoft .NET Framework 2.0 or greater

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

To debug mixed native and managed code, you must have .NET Framework version 2.0, 3.0, 3.5, or 4.0. Mixed-mode debugging with earlier versions of the .NET Framework is not supported.

To correct this error

  • Upgrade the .NET Framework to version 2.0, 3.0, 3.5, or 4.0.

See also