Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/guiunit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/framework/Internal/RuntimeFramework.cs')
-rwxr-xr-xsrc/framework/Internal/RuntimeFramework.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/framework/Internal/RuntimeFramework.cs b/src/framework/Internal/RuntimeFramework.cs
index a34c390..abf2150 100755
--- a/src/framework/Internal/RuntimeFramework.cs
+++ b/src/framework/Internal/RuntimeFramework.cs
@@ -181,6 +181,7 @@ namespace NUnit.Framework.Internal
else /* It's windows */
if (major == 2)
{
+#if !XAMMAC
RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\.NETFramework");
if (key != null)
{
@@ -199,6 +200,7 @@ namespace NUnit.Framework.Internal
}
}
}
+#endif
}
currentFramework = new RuntimeFramework(runtime, new Version(major, minor));