开始使用真棒DDay.iCal lib,因为我想发布我的应用程序,我遇到了以下兼容性问题(运行标准认证工具后)
•Error Found: The supported APIs test detected the following errors:◦API System.Text.UTF7Encoding in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.Comparer in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.Hashtable in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.ICloneable in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.TimeZoneInfo.TransitionTime in SYSTEM.CORE, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.TimeZoneInfo.AdjustmentRule in SYSTEM.CORE, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Diagnostics.Trace in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.IO.FileStream in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Net.WebProxy in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Runtime.Serialization.FormatterServices in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Net.WebClient in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.ArrayList in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.ComponentModel.EventHandlerList in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Console in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Threading.ThreadInterruptedException in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.ApplicationException in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.SystemException in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.AppDomain in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.Specialized.NameValueCollection in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.IHashCodeProvider in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.IO.FileMode in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.IO.FileAccess in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Runtime.Serialization.StreamingContextStates in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Text.UTF7Encoding.#ctor in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Text.Encoding.GetString(System.Byte[]) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.IO.TextReader.Close in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.String.Format(System.String,System.Object,System.Object) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.String.Format(System.String,System.Object) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.Comparer.Default in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.Hashtable.#ctor(System.Int32,System.Single,System.Collections.IHashCodeProvider,System.Collections.IComparer) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.ICloneable.Clone in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.DateTime.ToShortDateString in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.TimeZoneInfo.TransitionTime.get_Month in SYSTEM.CORE, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.TimeZoneInfo.TransitionTime.get_TimeOfDay in SYSTEM.CORE, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.TimeZoneInfo.TransitionTime.get_IsFixedDateRule in SYSTEM.CORE, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.TimeZoneInfo.TransitionTime.get_Day in SYSTEM.CORE, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.TimeZoneInfo.TransitionTime.get_Week in SYSTEM.CORE, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.TimeZoneInfo.TransitionTime.get_DayOfWeek in SYSTEM.CORE, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.TimeZoneInfo.GetAdjustmentRules in SYSTEM.CORE, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.TimeZoneInfo.get_Id in SYSTEM.CORE, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.TimeZoneInfo.AdjustmentRule.get_DateEnd in SYSTEM.CORE, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.TimeZoneInfo.AdjustmentRule.get_DaylightDelta in SYSTEM.CORE, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.TimeZoneInfo.AdjustmentRule.get_DateStart in SYSTEM.CORE, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.TimeZoneInfo.AdjustmentRule.get_DaylightTransitionEnd in SYSTEM.CORE, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.TimeZoneInfo.AdjustmentRule.get_DaylightTransitionStart in SYSTEM.CORE, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Diagnostics.Trace.TraceInformation(System.String,System.Object[]) in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.IO.FileStream.#ctor(System.String,System.IO.FileMode,System.IO.FileAccess) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.IO.Stream.Close in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Runtime.Serialization.FormatterServices.GetUninitializedObject(System.Type) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Runtime.Serialization.StreamingContext.#ctor(System.Runtime.Serialization.StreamingContextStates) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.IO.FileStream.#ctor(System.String,System.IO.FileMode) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Net.WebClient.#ctor in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Net.WebClient.set_Credentials(System.Net.ICredentials) in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Net.WebClient.DownloadData(System.Uri) in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.String.Format(System.String,System.Object,System.Object,System.Object) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.ArrayList.Add(System.Object) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.ArrayList.#ctor(System.Int32) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.ArrayList.GetEnumerator in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.String.Copy(System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.ArrayList.#ctor in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.ArrayList.get_Count in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.ArrayList.CopyTo(System.Array,System.Int32) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.ArrayList.get_Item(System.Int32) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.ArrayList.Clear in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.ArrayList.RemoveRange(System.Int32,System.Int32) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.ComponentModel.EventHandlerList.#ctor in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.ComponentModel.EventHandlerList.AddHandler(System.Object,System.Delegate) in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.ComponentModel.EventHandlerList.RemoveHandler(System.Object,System.Delegate) in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Console.get_Error in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.Hashtable.get_Item(System.Object) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Console.get_Out in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.ApplicationException.#ctor in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.Hashtable.#ctor in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.Hashtable.set_Item(System.Object,System.Object) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.ComponentModel.EventHandlerList.get_Item(System.Object) in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.Hashtable.get_SyncRoot in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.Hashtable.Clone in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.Hashtable.GetEnumerator in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.Hashtable.Remove(System.Object) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.SystemException.#ctor(System.String) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.ArrayList.GetRange(System.Int32,System.Int32) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.ArrayList.BinarySearch(System.Object,System.Collections.IComparer) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.ArrayList.Insert(System.Int32,System.Object) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.Hashtable.#ctor(System.Int32,System.Single) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.AppDomain.get_CurrentDomain in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.AppDomain.GetAssemblies in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.ArrayList.Clone in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.ArrayList.Contains(System.Object) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.ArrayList.Remove(System.Object) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Type.GetType in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.String.Compare(System.String,System.String,System.Boolean) in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.Specialized.NameValueCollection.get_AllKeys in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
◦API System.Collections.Specialized.NameValueCollection.get_Item(System.String) in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. DDay.iCal.dll calls this API.
我已经检查了GIT上的dday代码,我试图看看是否可以解决不兼容的API问题。任何人都有幸在过去使用WinRT应用程序上的DDay吗?或者有关如何通过这些愚蠢的API限制的任何建议?
答案 0 :(得分:0)
您必须删除Windows运行时的所有非法引用并找到支持的等效项,然后重新编译库。这可能非常麻烦。
另一种方法是将使用此库的逻辑放在Web服务中并调用此服务。