Building Unity3D
Options
Hello,
I am trying to build Photon.MmoDemo.Client.Unity3D, it compiles with no errors but when i bring it into unity i get the following error when it scans it:
This is the default project, I have not made any changes to the project or the source files, so I am just wondering what necessary steps are involved in building this to successfully run inside of Unity?
I tried building with Visual C# Express 2010 on Windows 7 64 bit,
Thanks,
Michael
I am trying to build Photon.MmoDemo.Client.Unity3D, it compiles with no errors but when i bring it into unity i get the following error when it scans it:
Internal compiler error. See the console log for more information. output was: Unhandled Exception: System.TypeLoadException: Could not load type 'System.Runtime.Versioning.TargetFrameworkAttribute' from assembly 'Photon.MmoDemo.Client.Unity3D'. at (wrapper managed-to-native) System.Reflection.Assembly:InternalGetType (System.Reflection.Module,string,bool,bool) at System.Reflection.Assembly.GetType (System.String name, Boolean throwOnError, Boolean ignoreCase) [0x00000] in <filename unknown>:0 at System.Reflection.Assembly.GetType (System.String name) [0x00000] in <filename unknown>:0 at Mono.CSharp.RootNamespace.GetTypeInAssembly (System.Reflection.Assembly assembly, System.String name) [0x00000] in <filename unknown>:0 at Mono.CSharp.RootNamespace.LookupTypeReflection (Mono.CSharp.CompilerContext ctx, System.String name, Location loc, Boolean must_be_unique) [0x00000] in <filename unknown>:0 at Mono.CSharp.GlobalRootNamespace.LookupTypeReflection (Mono.CSharp.CompilerContext ctx, System.String name, Location loc, Boolean must_be_unique) [0x00000] in <filename unknown>:0 at Mono.CSharp.Namespace.LookupType (Mono.CSharp.CompilerContext ctx, System.String name, Location loc) [0x00000] in <filename unknown>:0 at Mono.CSharp.Namespace.Lookup (Mono.CSharp.CompilerContext ctx, System.String name, Location loc) [0x00000] in <filename unknown>:0 at Mono.CSharp.TypeManager.CoreLookupType (Mono.CSharp.CompilerContext ctx, System.String ns_name, System.String name, Kind type_kind, Boolean required) [0x00000] in <filename unknown>:0 at Mono.CSharp.TypeManager.InitCoreTypes (Mono.CSharp.CompilerContext ctx) [0x00000] in <filename unknown>:0 at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0 at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0
This is the default project, I have not made any changes to the project or the source files, so I am just wondering what necessary steps are involved in building this to successfully run inside of Unity?
I tried building with Visual C# Express 2010 on Windows 7 64 bit,
Thanks,
Michael
0
Comments
-
I believe that mono 2.6 (which is the version unity comes with) does not yet fully support .NET 4 dlls.
Read here: http://www.mono-project.com/Release_Not ... y_4.0_APIs
The original target framework version was .NET 3.5; change the target framework in the project properties.0