Error ( Method not found: '!!0[] System.Array.Empty()' ) in SQL Prompt Error ( Method not found: '!!0[] System.Array.Empty()' ) in SQL Prompt

Error ( Method not found: '!!0[] System.Array.Empty()' ) in SQL Prompt

Visual Studio / Sql Server Management Studio crashes on startup.

Error text

ExceptionMessage: "Method not found: '!!0[] System.Array.Empty()'."

Cause

This issue appears to happen when compiling code against the latest .NET framework (4.6+) and attempting to run on older versions of the framework. Prompt requires the latest version to provide Azure support and the libraries used should be backward compatibile but sometimes this error happens..

Please download and install the latest .NET Framework.