I am trying to export my project for web and now getting the following error. I am running Unity Pro (4.1.5f1) on Mac.
Googled the issue, looked around the forum but couldn’t find a practical solution. There is a similar question i found but wasn’t helpful.
Build issue not finding .NET libraries and the suggested solution was
Any and all libraries that are .Net that you want to have with your project that Unity doesn’t know about, simply place them in your Assets folder somewhere on some level, maybe Resources, however, that doesn’t mean it will be allowed to be used even if it does exist, especially for the web player.
I don’t know about the .Net libraries. I am using Mac and making use of Unity’s default .Net libs.
Any help is greatly appreciated.
ArgumentException: The Assembly System.Web is referenced by log4net. But the dll is not allowed to be included or could not be found.
UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target)
UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target)
UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target)
UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target)
UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target)
UnityEditor.HostView:OnGUI()