- Home /
Question by
GuitarKirby · Apr 19, 2016 at 10:54 AM ·
unity 5build-errorwindows 10windows store apphuge
Universal Windows Platform - Huuuuuuuge Build Error
Hey, I'm trying to Build my game for Windows Universal Platform (UWP) but when trying to build i get this weird big errormessage:
UnityException: Failed to run reference rewriter with command --target="Temp\StagingArea\System.Data.dll" --additionalreferences="Temp\StagingArea","C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Facade","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Calls.CallsVoipContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.Printers.PrintersContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Foundation.FoundationContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Foundation.UniversalApiContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Graphics.Printing3D.Printing3DContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Networking.Connectivity.WwanContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Activation.ActivatedEventsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Activation.ActivationCameraSettingsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Activation.ContactActivatedEventsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Activation.WebUISearchActivatedEventsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Calls.Background.CallsBackgroundContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Calls.LockScreenCallContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Resources.Management.ResourceIndexerContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Search.Core.SearchCoreContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Search.SearchContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Wallet.WalletContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.Custom.CustomDeviceContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.Portable.PortableDeviceContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.Printers.Extensions.ExtensionsContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.Scanners.ScannerDeviceContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.Sms.LegacySmsApiContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Gaming.Preview.GamesEnumerationContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Globalization.GlobalizationJapanesePhoneticAnalyzerContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Management.Deployment.Preview.DeploymentPreviewContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Management.Orchestration.OrchestrationContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Management.Workplace.WorkplaceSettingsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Media.Capture.AppCaptureContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Media.Capture.CameraCaptureUIContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Media.Devices.CallControlContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Media.MediaControlContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Media.Playlists.PlaylistsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Media.Protection.ProtectionRenewalContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Networking.Sockets.ControlChannelTriggerContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Security.EnterpriseData.EnterpriseDataContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Security.ExchangeActiveSyncProvisioning.EasContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Services.Maps.GuidanceContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Services.Maps.LocalSearchContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.Profile.SystemManufacturers.SystemManufacturersContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.Profile.ProfileHardwareTokenContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.Profile.ProfileRetailInfoContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.UserProfile.UserProfileContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.UserProfile.UserProfileLockScreenContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.UI.ApplicationSettings.ApplicationsSettingsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.UI.Core.AnimationMetrics.AnimationMetricsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.UI.Core.CoreWindowDialogsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.UI.Xaml.Hosting.HostingContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Web.Http.Diagnostics.HttpDiagnosticsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.DevicesLowLevelContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.SystemManagementContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Calls.CallsPhoneContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.SocialInfo.SocialInfoContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.SmartCards.SmartCardEmulatorContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Embedded.DeviceLockdown.DeviceLockdownContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Networking.NetworkOperators.NetworkOperatorsFdnContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Phone.PhoneContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Phone.StartScreen.DualSimTileContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.UI.WebUI.Core.WebUICommandBarContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.Profile.ProfileSharedModeContract\1.0.0.0" --platform="C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Facade\Windows.winmd" --support="Temp\StagingArea\WinRTLegacy.dll" --supportpartialns=Unity.Partial --system=System --dbg=pdb --lock=UWP\project.lock.json --alt=System.Xml.Serialization;System.Collections,System.Collections.NonGeneric;System.Reflection,System.Reflection.TypeExtensions;System.IO,System.IO.FileSystem;System.Net,System.Net.Primitives;System.Net.Sockets,System.Net.Primitives;System.Xml,System.Xml.XmlDocument --ignore=System.IConvertible,mscorlib.
Error: type `System.Console` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void Mono.Data.SqlExpressions.Parser::.ctor().
Error: method `System.IO.TextWriter System.Console::get_Out()` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void Mono.Data.SqlExpressions.Parser::.ctor().
Error: type `System.Console` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void Mono.Data.SqlExpressions.Parser::.ctor(System.Data.DataRow[]).
Error: method `System.IO.TextWriter System.Console::get_Out()` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void Mono.Data.SqlExpressions.Parser::.ctor(System.Data.DataRow[]).
Error: type `System.MarshalByRefObject` doesn't exist in target framework. It is referenced from System.Data.dll at Mono.Data.SqlExpressions.Parser/YYRules.
Error: type `System.MarshalByRefObject` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void Mono.Data.SqlExpressions.Parser/YYRules::.ctor().
Error: method `System.Void System.MarshalByRefObject::.ctor()` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void Mono.Data.SqlExpressions.Parser/YYRules::.ctor().
Error: type `System.Console` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void Mono.Data.SqlExpressions.yydebug.yyDebugSimple::println(System.String).
Error: method `System.IO.TextWriter System.Console::get_Error()` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void Mono.Data.SqlExpressions.yydebug.yyDebugSimple::println(System.String).
Error: type `System.ComponentModel.ExpandableObjectConverter` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.ColumnTypeConverter.
Error: type `System.ComponentModel.ExpandableObjectConverter` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.ColumnTypeConverter::.ctor().
Error: method `System.Void System.ComponentModel.ExpandableObjectConverter::.ctor()` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.ColumnTypeConverter::.ctor().
Error: type `System.ComponentModel.ITypeDescriptorContext` doesn't exist in target framework. It is referenced from System.Data.dll at System.Object System.Data.ColumnTypeConverter::ConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object,System.Type).
Error: type `System.ComponentModel.ITypeDescriptorContext` doesn't exist in target framework. It is referenced from System.Data.dll at System.Boolean System.Data.ColumnTypeConverter::CanConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Type).
Error: type `System.ComponentModel.TypeConverterAttribute` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.Constraint.
Error: method `System.Void System.ComponentModel.TypeConverterAttribute::.ctor(System.Type)` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.Constraint.
Error: type `System.ComponentModel.DefaultPropertyAttribute` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.Constraint.
Error: method `System.Void System.ComponentModel.DefaultPropertyAttribute::.ctor(System.String)` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.Constraint.
Error: type `System.ComponentModel.EventHandlerList` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.Constraint.
Error: type `System.ComponentModel.BrowsableAttribute` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.Constraint.
Error: method `System.Void System.ComponentModel.BrowsableAttribute::.ctor(System.Boolean)` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.Constraint.
Error: type `System.ComponentModel.EventHandlerList` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::.ctor().
Error: method `System.Void System.ComponentModel.EventHandlerList::.ctor()` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::.ctor().
Error: type `System.ComponentModel.EventHandlerList` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::.ctor().
Error: type `System.ComponentModel.EventHandlerList` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::add_BeforeConstraintNameChange(System.Data.DelegateConstraintNameChange).
Error: type `System.ComponentModel.EventHandlerList` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::add_BeforeConstraintNameChange(System.Data.DelegateConstraintNameChange).
Error: method `System.Void System.ComponentModel.EventHandlerList::AddHandler(System.Object,System.Delegate)` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::add_BeforeConstraintNameChange(System.Data.DelegateConstraintNameChange).
Error: type `System.ComponentModel.EventHandlerList` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::remove_BeforeConstraintNameChange(System.Data.DelegateConstraintNameChange).
Error: type `System.ComponentModel.EventHandlerList` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::remove_BeforeConstraintNameChange(System.Data.DelegateConstraintNameChange).
Error: method `System.Void System.ComponentModel.EventHandlerList::RemoveHandler(System.Object,System.Delegate)` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::remove_BeforeConstraintNameChange(System.Data.DelegateConstraintNameChange).
Error: type `System.ComponentModel.EventHandlerList` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::_onConstraintNameChange(System.String).
Error: type `System.ComponentModel.EventHandlerList` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::_onConstraintNameChange(System.String).
Error: method `System.Delegate System.ComponentModel.EventHandlerList::get_Item(System.Object)` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.Constraint::_onConstraintNameChange(System.String).
Error: type `System.ComponentModel.EditorAttribute` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.ConstraintCollection.
Error: method `System.Void System.ComponentModel.EditorAttribute::.ctor(System.String,System.String)` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.ConstraintCollection.
Error: type `System.ComponentModel.DefaultEventAttribute` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.ConstraintCollection.
Error: method `System.Void System.ComponentModel.DefaultEventAttribute::.ctor(System.String)` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.ConstraintCollection.
Error: type `System.ComponentModel.CollectionChangeEventHandler` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.ConstraintCollection.
Error: type `System.ComponentModel.CollectionChangeEventHandler` doesn't exist in target framework. It is referenced from System.Data.dll at System.Data.ConstraintCollection.
Error: type `System.ComponentModel.CollectionChangeEventHandler` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.ConstraintCollection::add_CollectionChanged(System.ComponentModel.CollectionChangeEventHandler).
Error: type `System.ComponentModel.CollectionChangeEventHandler` doesn't exist in target framework. It is referenced from System.Data.dll at System.Void System.Data.ConstraintCollection::add_CollectionChanged(System.ComponentModel.CollectionChangeEventHandler).
Error: type `System.ComponentModel.CollectionChangeEventHandler` doesn't exist in target framework. It is referenced from System.Data.dll at Syst<message truncated>
I'm using Windows 10 and Unity 5.x For the build i selected Universal 10 and XAML.
I really need this to run :(
Comment