I do want to write my own scripts but right now all I expect is to simply use scripts that come with Unity but instead I get a “Error: Framework ‘Mono / .NET 3.5’ not installed. (Assembly-CSharp-firstpass)” on the MonoDevelop and on the MonoDevelop Message Log it says “mscorlib assembly not found for framework”. I’m getting that message with scripts that come with Unity (Camera Scripts, General Scripts and Utility Scripts), but also even when I just created a new script, even when the script is empty :shock:. I already have Microsoft .NET Framework 4 Extended (and Client Profile) installed so I believe I need to make Unity recognize it. And I wonder why would Unity 4 ask for an older .NET Framework. I recently read that <<“Assembly” is the name for a .NET library. “Assembly not available for Mono / .NET 3.5” means “I cannot find the library you’re trying to use”>> ([SOLVED] (Mono/MonoDevelop) after upgrade to lucid: g* stack of assemblies not compatible with [Archive] - Ubuntu Forums), does this help? How can I help Unity find a library? How do I use a library that Unity can find? Bellow are screen shots of the problem.
I did all I could so far
. I searched the web for “Error: Framework ‘Mono / .NET 3.5’ not installed. (Assembly-CSharp-firstpass)”, they talk about changing “the project to use the full 4.0 framework” (.net - Error: Framework '.NETFramework 4.0 Client Profile' not installed. for MonoDevelop 2.8.1 - Stack Overflow) and I have no idea how to do that on Unity. I also searched for “mscorlib assembly not found for framework” and the results don’t seem to help at all, they talk about redhat, ubuntu, and the ones related to MonoDevelop are repetitions of one single post in which they come to the conclusion that it “explains why there is no code completion” ← does this help? I also read the Unity documentation, and my searches for “Framework Mono / .NET 3.5”, “NET 3.5”, “Assembly-CSharp-firstpass” and “mscorlib assembly not found for framework” did not result in any matches. And results for “not installed” and results for “mscorlib” aren’t related to this specific issue. I did a lot of experimentation and when I try to enter play mode it says “all compiler errors have to be fixed before” doing that. I also removed .NET 4.0 just to see if MonoDevelop would even open, and obviously it doesn’t: “MonoDevelop.exe - Application Error. The application failed to initialize properly (0xc0000135). Click on OK to terminate the application”. So I uninstalled 4.0 and since the original error says “.NET 3.5 not installed” I installed .NET Framework 3.5 and I got: “To run this application, you first must install one of the following versions of the .NET Framework: v4.0. Contact your application for instructions about obtaining the appropriate version of the .NET Framework” which is the one I had installed in the first place.
I don’t know exactly how to reproduce the error but maybe using unity 4.1.0f4 on Windows XP SP3 with Microsoft .NET Framework 4 Extended (and Client Profile) installed the error will be reproduced. Maybe not.
Thank you, I look forward to a solution to fix this problem. ![]()




