- Home /
Windows 8 Phone errors
Hy,
I just installed unity 4.2 on windows 8 Pro x64 , windows phone 8 sdk.
I made a new project , built it and deployed it on my windows phone.
When i imported my game project (it was done on windows 7, unity 4.0) i get many error like this :
Error building Player: Exception: Error: type System.ICloneable
doesn't exist in target framework. Error: type System.ComponentModel.DesignerAttribute
doesn't exist in target framework. Error: type System.ComponentModel.ToolboxItemAttribute
doesn't exist in target framework. Error: type System.ComponentModel.EditorAttribute
doesn't exist in target framework. Error: type System.ComponentModel.RefreshPropertiesAttribute
doesn't exist in target framework. Error: type System.ComponentModel.RefreshProperties
doesn't exist in target framework. Error: type System.ComponentModel.RefreshPropertiesAttribute
doesn't exist in target framework. Error: type System.ComponentModel.RefreshProperties
doesn't exist in target framework. Error: type System.ComponentModel.EditorAttribute
doesn't exist in target framework. Error: type System.ComponentModel.DesignerSerializationVisibilityAttribute
doesn't exist in target framework. Error: type System.ComponentModel.DesignerSerializationVisibility
doesn't exist in target framework. Error: type System.ComponentModel.DesignerSerializationVisibilityAttribute
doesn't exist in target framework. Error: type System.ComponentModel.DesignerSerializationVisibility
doesn't exist in target framework. Error: type System.ComponentModel.DesignOnlyAttribute
doesn't exist in target framework. Error: type System.ComponentModel.Component
doesn't exist in target framework. Error: type System.ComponentModel.TypeDescriptor
doesn't exist in target framework. Error: type System.ICloneable
doesn't exist in target framework. Error: type System.ComponentModel.RefreshPropertiesAttribute
doesn't exist in target framework. Error: type System.ComponentModel.RefreshProperties
doesn't exist in target framework. Error: type System.ComponentModel.EditorAttribute
doesn't exist in target framework. Error: type System.ComponentModel.DesignerSerializationVisibilityAttribute
doesn't exist in target framework. Error: type System.ComponentModel.DesignerSerializationVisibility
doesn't exist in target framework. Error: type System.ComponentModel.DesignerSerializationVisibilityAttribute
doesn't exist in target framework. Error: type System.ComponentModel.DesignerSerializationVisibility
doesn't exist in target framework. Error: type System.ComponentModel.DesignerSerializationVisibilityAttribute
doesn't exist in target framework. Error: type System.ComponentModel.DesignerSerializationVisibility
doesn't exist in target framework. Error: type System.ComponentModel.DesignerSerializationVisibilityAttribute
doesn't exist in target framework. Error: type System.ComponentModel.DesignerSerializationVisibility
doesn't exist in target framework. Error: type System.ComponentModel.Component
doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.Collections.Generic.SortedList`2` doesn't exist in target framework. Error: type System.Collections.Generic.SortedList
2 doesn't exist in target framework. Error: type
System.ComponentModel.DefaultPropertyAttribute` doesn't exist in target framework. Error: type System.ComponentModel.DisplayNameAttribute
doesn't exist in target framework. Error: type System.ComponentModel.DisplayNameAttribute
doesn't exist in target framework. Error: type System.ComponentModel.DisplayNameAttribute
doesn't exist in target framework. Error: type System.ComponentModel.DisplayNameAttribute
doesn't exist in target framework. Error: type System.ComponentModel.DisplayNameAttribute
doesn't exist in target framework. Error: type System.ComponentModel.PasswordPropertyTextAttribute
doesn't exist in target framework. Error: type System.ComponentModel.DisplayNameAttribute
doesn't exist in target framework. Error: type System.ComponentModel.DisplayNameAttribute
doesn't exist in target framework. Error: type System.ComponentModel.DisplayNameAttribute
doesn't exist in target framework. Error: type System.ComponentModel.DisplayNameAttribute
doesn't exist in target framework. Error: type System.ComponentModel.DisplayNameAttribute
doesn't exist in target framework. Error: type System.ComponentModel.TypeDescriptor
doesn't exist in target framework. Error: type System.ComponentModel.TypeDescriptor
doesn't exist in target framework. Error: type System.ComponentModel.TypeDescriptor
doesn't exist in target framework. Error: type System.ComponentModel.TypeDescriptor
doesn't exist in target framework. Error: type System.ComponentModel.TypeDescriptor
doesn't exist in target framework. Error: type System.ComponentModel.MemberDescriptor
doesn't exist in target framework. Error: type System.ComponentModel.AttributeCollection
doesn't exist in target framework. Error: type System.ComponentModel.AttributeCollection
doesn't exist in target framework. Error: type System.ComponentModel.TypeDescriptor
doesn't exist in target framework. Error: type System.ComponentModel.PropertyDescriptorCollection
doesn't exist in target framework. Error: type System.ComponentModel.PropertyDescriptorCollection
doesn't exist in target framework. Error: type System.ComponentModel.MemberDescriptor
doesn't exist in target framework. Error: type System.ComponentModel.MemberDescriptor
doesn't exist in target framework. Error: type System.ComponentModel.MemberDescriptor
doesn't exist in target framework. Error: type System.ComponentModel.DesignerAttribute
doesn't exist in target framework. Error: type System.ComponentModel.ToolboxItemAttribute
doesn't exist in target framework. Error: type System.ComponentModel.DefaultEventAttribute
doesn't exist in target framework. Error: type System.ComponentModel.EditorAttribute
doesn't exist in target framework. Error: type System.ComponentModel.EditorAttribute
doesn't exist in target framework. Error: type System.ComponentModel.EditorAttribute
doesn't exist in target framework. Error: type System.ComponentModel.EditorAttribute
doesn't exist in target framework. Error: type System.ComponentModel.Component
doesn't exist in target framework. Error: type System.ComponentModel.EventHandlerList
doesn't exist in target framework. Error: type System.ComponentModel.EventHandlerList
doesn't exist in target framework. Error: type System.ComponentModel.Component
doesn't exist in target framework. Error: type System.ComponentModel.EventHandlerList
doesn't exist in target framework. Error: type System.ComponentModel.EventHandlerList
doesn't exist in target framework. Error: type System.ComponentModel.Component
doesn't exist in target framework. Error: type System.ComponentModel.EventHandlerList
doesn't exist in target framework. Error: type System.ComponentModel.EventHandlerList
doesn't exist in target framework. Error: type System.ComponentModel.Component
doesn't exist in target framework. Error: type System.ComponentModel.EventHandlerList
doesn't exist in target framework. Error: type System.ComponentModel.EventHandlerList
doesn't exist in target framework. Error: type System.ComponentModel.Component
doesn't exist in target framework. Error: type System.ComponentModel.EventHandlerList
doesn't exist in target framework. Error: type System.ComponentModel.EventHandlerList
doesn't exist in target framework. Error: type System.ComponentModel.Component
doesn't exist in target framework. Error: type System.ComponentModel.EventHandlerList
doesn't exist in target framework. Error: type System.ComponentModel.EventHandlerList
doesn't exist in target framework. Error: type System.ComponentModel.Component
doesn't exist in target framework. Error: type System.ComponentModel.EventHandlerList
doesn't exist in target framework. Error: type System.ComponentModel.EventHandlerList
doesn't exist in target framework. Error: type System.ComponentModel.Component
doesn't exist in target framework. Error: type System.ComponentModel.EventHandlerList
doesn't exist in target framework. Error: type System.ComponentModel.EventHandlerList
doesn't exist in target framework. Error: type System.ComponentModel.Component
doesn't exist in target framework. Error: type System.ComponentModel.Component
doesn't exist in target framework. Error: type System.Runtime.Serialization.SerializationInfo
doesn't exist in target framework. Error: type System.Runtime.Serialization.SerializationInfo
doesn't exist in target framework. Error: type System.ComponentModel.Component
doesn't exist in target framework. Error: type System.ComponentModel.EditorAttribute
doesn't exist in target framework. Error: type System.ComponentModel.ListBindableAttribute
doesn't exist in target framework. Error: type System.ICloneable
doesn't exist in target framework. Error: type System.ComponentModel.RefreshPropertiesAttribute
doesn't exist in target framework. Error: type System.ComponentModel.RefreshProperties
doesn't exist in target framework. Error: type System.ComponentModel.StringConverter
doesn't exist in target framework. Error: type System.ComponentModel.RefreshPropertiesAttribute
doesn't exist in target framework. Error: type System.ComponentModel.RefreshProperties
doesn't exist in target framework. Error: type System.Security.SuppressUnmanagedCodeSecurityAttribute
doesn't exist in target framework.
What are this error? I tried to re-install .net frameworks and nothing,
Also i am getting warnings like :
Windows Phone 8 doesn't support "System.Security.SuppressUnmanagedCodeSecurityAttribute, mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e". Used by "Mono.Data.Sqlite.UnsafeNativeMethods, Mono.Data.Sqlite, Version=2.0.5.0, Culture=neutral, PublicKeyToken=null". Context: Attribute. UnityEngine.Debug:LogWarning(Object) PostProcessWP8Player:MakeManagedAssembliesWp8Compatible(String[], String[], String, String) (at C:/BuildAgent/work/cac08d8a5e25d4cb/PlatformDependent/WP8Player/Extensions/Managed/PostProcessWP8Player.cs:365) PostProcessWP8Player:PostProcess(BuildTarget, BuildOptions, String, String, String, String, String, Guid) (at C:/BuildAgent/work/cac08d8a5e25d4cb/PlatformDependent/WP8Player/Extensions/Managed/PostProcessWP8Player.cs:227) UnityEditor.HostView:OnGUI()
What can i do ?
Answer by callum.NET · Aug 22, 2013 at 10:16 AM
It's frustrating I know, but these classes simply aren't supported in Windows Phone 8. You're namespaces will be though. You'll just have to find work arounds if you want to deploy to Windows Phone 8.
Here is a list of all namespaces and classes supported in Windows Phone 8.
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207211(v=vs.105).aspx
I'm not sure why no one has answered this sooner.
Your answer
Follow this Question
Related Questions
View four different cameras at once? 1 Answer
Retargeting Unity Windows store app to Windows 8.1 1 Answer
How do I enable the screensaver 0 Answers
whole animation not being played 0 Answers
Unity 3D with Oculus Rift? 2 Answers