2015-10-05 44 views
0

使用真棒DDay.iCal lib和權利,我想釋放我的程序,我碰到了以下兼容性問題(運行標準的認證工具後)DDAY對WinRT的失敗認證

•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服務並調用此服務。

+0

這很明顯是的,我現在正在努力做到這一點,但正如您可以想象,改變第三方庫併爲每種不兼容類型尋找替代品並不容易。 我只是想知道如果有人在WinRT上使用DDay之前,它似乎是一個足夠普遍的庫。 –

+1

我想人們已經厭倦了爲他們的類庫創建一個BCL,PCL和Silverlight版本,並且從未設法通過創建另一個版本來支持WinRT,我可以與之聯繫起來。有很少的流行庫也有WinRT兼容版本。 – CodeCaster