- version = mono_get_runtime_info ()->framework_version;
-
- /* For 1.x, not NULL is enough. In 2.0 it has to be "true" */
- if (*version <= '1') {
- shadow_enabled = TRUE;
- } else {
- shadow_status_string = mono_string_to_utf8_checked (setup->shadow_copy_files, &error);
- if (!mono_error_ok (&error)) {
- mono_error_cleanup (&error);
- return FALSE;
- }
- shadow_enabled = !g_ascii_strncasecmp (shadow_status_string, "true", 4);
- g_free (shadow_status_string);
+ shadow_status_string = mono_string_to_utf8_checked (setup->shadow_copy_files, &error);
+ if (!mono_error_ok (&error)) {
+ mono_error_cleanup (&error);
+ return FALSE;