- Home /
Mono Runtimes Not Detected After Install
I've uninstalled and reinstalled Unity 3.5 multiple times but after installing and launching MD (installed with Unity 3.5) there is only .NET runtimes listed in Preferences->.NET Runtimes... even if I go and try to manually add and point to C:\\Program Files (x86)\\Unity\\Editor\\Data\\Mono it gives and error dlg saying Mono runtime not found ...please provide a valid directory prefix where moono is installed. I should'n't have to manually install Mono runtimes separately should I? thanks, --Matt
The error dialog seems to be a Windows-specific bug; I was able to do the same thing on a $$anonymous$$ac (where the $$anonymous$$ono folder worked) and can't get either $$anonymous$$onoDevelop-Unity or Xamarin Studio to do it on Windows. This should become a bug report tomorrow...
Answer by Graham-Dunnett · Apr 10, 2012 at 03:47 PM
You shouldn't have to do anything to MD after installing Unity. I have never gone anywhere near that Preference. What problem are you trying to solve? I can imagine that that preference is needed if you are using MonoDevelop independently of Unity, so instead of VisualStudio if you are doing c# development.
We build 1 dll that contains our scripts that need to reside in the Editor folder and then a a shared dll with all our other scripts building into Assets\Dll folder.
This has been working for months but recently made a couple changes. At some point in the past (probably before Unity was installed), I had the standalone version of $$anonymous$$onoDevelop installed. I uninstalled the standalone last week. We also needed to have version Unity 3.5 and 3.4.2 installed concurrently so uninstalled unity 3.4.2 and reinstalled them both into their own unique versioned path. This is when the trouble began. It almost seems like the standalone remnants (registry?,etc) is maybe preventing the proper registering of mono runtimes in $$anonymous$$D during the install of Unity(??). So just to confirm, after installing Unity 3.5, the default .NET runtimes dialog in the $$anonymous$$D prefs should have how many options on Windows? thanks, --$$anonymous$$att
$$anonymous$$ine works, and looks just like yours (one entry: $$anonymous$$icrosoft .NET (default)
Answer by DaveA · Apr 11, 2012 at 12:45 AM
Yeah it sounds like registry debris. Did you try using the Unity/MonoDevelop/bin folder instead of the Unity/Editor/Data/Mono folder? Also, try system rollback (restore to old checkpoint)?
Tried the bin path and several other possible paths , but all returned same error dlg. Haven't tried the restore option yet, but suppose it's worth a shot at this point. thx, --$$anonymous$$att
Your answer
![](https://koobas.hobune.stream/wayback/20220613070134im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Replace Microsoft dll's with Mono dll's in Visual Studio? 5 Answers
Passing Arrays as Parameters Between Functions in C# and C++ dll's within Unity 1 Answer
error CS0117: `System.IO.File' does not contain a definition for `GetCreationTime' 2 Answers
AOT Runtime Problem: Variable of type IMyInterface changes type to String(impossible..??) 0 Answers
How might I check integrity of C# assembly or prevent substitution? 1 Answer