microsoft / MixedRealityToolkit-Unity

This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
https://aka.ms/mrtkdocs
MIT License
6.01k stars 2.12k forks source link

NET Native failing #1830

Closed lukasvolf closed 6 years ago

lukasvolf commented 6 years ago

NET Native is failing for some reason on Windows 10 Fall Creators Update. We are using HoloToolkit, Unity 2017.1 and VS2015 (minimum and target version of the app is set to Anniversary Update). The solution builds fine on another machine running Windows 10 Creators Update. The error log I get from the NET Native build is attached below. When I search for the methods it complains about, it seems like all of them were introduced in the Creators and Fall Creators updates.

102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0005: Type 'System.Reflection.BindingFlags' was not included in compilation, but was referenced in method 'ReflectionExtensions.GetMethod(Type, string, BindingFlags)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0005: Type 'Windows.System.DispatcherQueue' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0005: Type 'Windows.System.DispatcherQueueShutdownStartingEventArgs' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0005: Type 'Windows.System.DispatcherQueueTimer' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0005: Type 'Windows.System.DispatcherQueueHandler' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0005: Type 'Windows.System.DispatcherQueuePriority' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0005: Type 'Windows.System.IDispatcherQueue' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0005: Type 'Windows.System.IDispatcherQueueTimer' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0005: Type 'Windows.UI.Core.CoreWindowActivationMode' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0005: Type 'Windows.UI.Core.ICoreWindow4' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0005: Type 'Windows.UI.Core.ICoreWindow5' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3344(long, long*)' will always throw an exception due to the missing method 'DispatcherQueue.add_ShutdownCompleted(TypedEventHandler<DispatcherQueue, object>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3345(long, long*)' will always throw an exception due to the missing method 'DispatcherQueue.add_ShutdownStarting(TypedEventHandler<DispatcherQueue, DispatcherQueueShutdownStartingEventArgs>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3346(long, long*)' will always throw an exception due to the missing method 'DispatcherQueue.CreateTimer()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3347(long, long*)' will always throw an exception due to the missing method 'DispatcherQueue.GetForCurrentThread()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3348(long, long*)' will always throw an exception due to the missing method 'DispatcherQueue.remove_ShutdownCompleted(EventRegistrationToken)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3349(long, long*)' will always throw an exception due to the missing method 'DispatcherQueue.remove_ShutdownStarting(EventRegistrationToken)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3350(long, long*)' will always throw an exception due to the missing method 'DispatcherQueue.TryEnqueue(DispatcherQueueHandler)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3351(long, long*)' will always throw an exception due to the missing method 'DispatcherQueue.TryEnqueue(DispatcherQueuePriority, DispatcherQueueHandler)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3352(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueHandler.Invoke()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3353(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueTimer.add_Tick(TypedEventHandler<DispatcherQueueTimer, object>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3354(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueTimer.get_Interval()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3355(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueTimer.get_IsRepeating()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3356(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueTimer.get_IsRunning()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3357(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueTimer.put_Interval(TimeSpan)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3358(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueTimer.put_IsRepeating(bool)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3359(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueTimer.remove_Tick(EventRegistrationToken)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3360(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueTimer.Start()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3361(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueTimer.Stop()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3362(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueue.add_ShutdownCompleted(TypedEventHandler<DispatcherQueue, object>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3363(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueue.add_ShutdownStarting(TypedEventHandler<DispatcherQueue, DispatcherQueueShutdownStartingEventArgs>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3364(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueue.CreateTimer()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3365(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueue.remove_ShutdownCompleted(EventRegistrationToken)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3366(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueue.remove_ShutdownStarting(EventRegistrationToken)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3367(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueue.TryEnqueue(DispatcherQueueHandler)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3368(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueue.TryEnqueue(DispatcherQueuePriority, DispatcherQueueHandler)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3369(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueueTimer.add_Tick(TypedEventHandler<DispatcherQueueTimer, object>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3370(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueueTimer.get_Interval()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3371(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueueTimer.get_IsRepeating()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3372(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueueTimer.get_IsRunning()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3373(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueueTimer.put_Interval(TimeSpan)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3374(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueueTimer.put_IsRepeating(bool)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3375(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueueTimer.remove_Tick(EventRegistrationToken)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3376(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueueTimer.Start()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3377(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueueTimer.Stop()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3540(long, long*)' will always throw an exception due to the missing method 'ICoreWindow4.add_ResizeCompleted(TypedEventHandler<CoreWindow, object>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3541(long, long*)' will always throw an exception due to the missing method 'ICoreWindow4.add_ResizeStarted(TypedEventHandler<CoreWindow, object>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3542(long, long*)' will always throw an exception due to the missing method 'ICoreWindow4.remove_ResizeCompleted(EventRegistrationToken)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3543(long, long*)' will always throw an exception due to the missing method 'ICoreWindow4.remove_ResizeStarted(EventRegistrationToken)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3544(long, long*)' will always throw an exception due to the missing method 'ICoreWindow5.get_ActivationMode()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method '$MethodUtility.$Invoke3545(long, long*)' will always throw an exception due to the missing method 'ICoreWindow5.get_DispatcherQueue()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): warning : ILTransform_0003: Method 'NetworkCRC.ReinitializeScriptCRCs(Assembly)' will always throw an exception due to the missing method 'TypeExtensions.GetMethod(Type, string, BindingFlags)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : ILT0021: Could not resolve method 'System.Runtime.InteropServices.WindowsRuntime.EventRegistrationToken Windows.UI.Core.CoreWindow.add_ResizeCompleted(Windows.Foundation.TypedEventHandler<Windows.UI.Core.CoreWindow, System.Object>)'
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Type 'System.Reflection.BindingFlags' was not included in compilation, but was referenced in method 'ReflectionExtensions.GetMethod(Type, string, BindingFlags)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Type 'Windows.System.DispatcherQueue' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Type 'Windows.System.DispatcherQueueShutdownStartingEventArgs' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Type 'Windows.System.DispatcherQueueTimer' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Type 'Windows.System.DispatcherQueueHandler' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Type 'Windows.System.DispatcherQueuePriority' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Type 'Windows.System.IDispatcherQueue' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Type 'Windows.System.IDispatcherQueueTimer' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Type 'Windows.UI.Core.CoreWindowActivationMode' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Type 'Windows.UI.Core.ICoreWindow4' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Type 'Windows.UI.Core.ICoreWindow5' was not included in compilation, but was referenced in method 'BootstrapHelpers.FillTypeMaps0(Dictionary<Type, int>, List<Type>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3344(long, long*)' will always throw an exception due to the missing method 'DispatcherQueue.add_ShutdownCompleted(TypedEventHandler<DispatcherQueue, object>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3345(long, long*)' will always throw an exception due to the missing method 'DispatcherQueue.add_ShutdownStarting(TypedEventHandler<DispatcherQueue, DispatcherQueueShutdownStartingEventArgs>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3346(long, long*)' will always throw an exception due to the missing method 'DispatcherQueue.CreateTimer()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3347(long, long*)' will always throw an exception due to the missing method 'DispatcherQueue.GetForCurrentThread()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3348(long, long*)' will always throw an exception due to the missing method 'DispatcherQueue.remove_ShutdownCompleted(EventRegistrationToken)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3349(long, long*)' will always throw an exception due to the missing method 'DispatcherQueue.remove_ShutdownStarting(EventRegistrationToken)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3350(long, long*)' will always throw an exception due to the missing method 'DispatcherQueue.TryEnqueue(DispatcherQueueHandler)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3351(long, long*)' will always throw an exception due to the missing method 'DispatcherQueue.TryEnqueue(DispatcherQueuePriority, DispatcherQueueHandler)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3352(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueHandler.Invoke()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3353(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueTimer.add_Tick(TypedEventHandler<DispatcherQueueTimer, object>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3354(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueTimer.get_Interval()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3355(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueTimer.get_IsRepeating()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3356(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueTimer.get_IsRunning()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3357(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueTimer.put_Interval(TimeSpan)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3358(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueTimer.put_IsRepeating(bool)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3359(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueTimer.remove_Tick(EventRegistrationToken)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3360(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueTimer.Start()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3361(long, long*)' will always throw an exception due to the missing method 'DispatcherQueueTimer.Stop()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3362(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueue.add_ShutdownCompleted(TypedEventHandler<DispatcherQueue, object>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3363(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueue.add_ShutdownStarting(TypedEventHandler<DispatcherQueue, DispatcherQueueShutdownStartingEventArgs>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3364(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueue.CreateTimer()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3365(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueue.remove_ShutdownCompleted(EventRegistrationToken)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3366(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueue.remove_ShutdownStarting(EventRegistrationToken)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3367(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueue.TryEnqueue(DispatcherQueueHandler)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3368(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueue.TryEnqueue(DispatcherQueuePriority, DispatcherQueueHandler)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3369(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueueTimer.add_Tick(TypedEventHandler<DispatcherQueueTimer, object>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3370(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueueTimer.get_Interval()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3371(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueueTimer.get_IsRepeating()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3372(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueueTimer.get_IsRunning()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3373(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueueTimer.put_Interval(TimeSpan)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3374(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueueTimer.put_IsRepeating(bool)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3375(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueueTimer.remove_Tick(EventRegistrationToken)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3376(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueueTimer.Start()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3377(long, long*)' will always throw an exception due to the missing method 'IDispatcherQueueTimer.Stop()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3540(long, long*)' will always throw an exception due to the missing method 'ICoreWindow4.add_ResizeCompleted(TypedEventHandler<CoreWindow, object>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3541(long, long*)' will always throw an exception due to the missing method 'ICoreWindow4.add_ResizeStarted(TypedEventHandler<CoreWindow, object>)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3542(long, long*)' will always throw an exception due to the missing method 'ICoreWindow4.remove_ResizeCompleted(EventRegistrationToken)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3543(long, long*)' will always throw an exception due to the missing method 'ICoreWindow4.remove_ResizeStarted(EventRegistrationToken)'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3544(long, long*)' will always throw an exception due to the missing method 'ICoreWindow5.get_ActivationMode()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method '$MethodUtility.$Invoke3545(long, long*)' will always throw an exception due to the missing method 'ICoreWindow5.get_DispatcherQueue()'. There may have been a missing assembly.
102>C:\Program Files (x86)\MSBuild\Microsoft\.NetNative\x86\ilc\IlcInternals.targets(936,5): error : Method 'NetworkCRC.ReinitializeScriptCRCs(Assembly)' will always throw an exception due to the missing method 'TypeExtensions.GetMethod(Type, string, BindingFlags)'. There may have been a missing assembly.
========== Rebuild All: 101 succeeded, 1 failed, 0 skipped ==========
StephenHodgson commented 6 years ago

Visual Studio 2017 is required to build projects using the MRTK

lukasvolf commented 6 years ago

I am using an older version of the toolkit when it was still called "HoloToolkit". It builds fine in VS2015, Unity 2017.1 on Windows 10 running Creators Update. Tested on multiple machines, once I install the Fall Creators Update the build starts failing. We have a different branch using the latest Mixed Reality Toolkit and VS2017 15.5.7/Unity 2017.2MRTP5 and the issue is the same when I try to build it in NET Native - I get exactly the same output. Unfortunately, in this case the app has minimal target version set to Anniversary Update (because of HoloLens) and the target version is the Fall Creators Update, which means it requires Win 10 Fall Creators Update. We were not able to build that version with NET Native enabled yet.