Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
static void ThrowIfNotInstalled ()
if (!MonoDroidFramework.IsInstalled) {
var title = GettextCatalog.GetString ("Mono for Android is not installed");
var message = GettextCatalog.GetString ("The Mono for Android SDK is required to " +
"develop applications for Android. Please install Mono for Android, you can " +
"download it from the Xamarin website.{0}{0}", Environment.NewLine);
throw new UserException (title, message);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment