目前公司有個專案在上線之前做了安全監測,測驗出程式可執行檔案未設定強簽名;然后在設定強簽名的時候 需要設定第三方DLL的簽名,但是MongoDB的DLL是沒有強簽名的,所以在給MongoDB.Driver.dll寫入強簽名 編譯成DLL時,居然報錯了,報錯為語法錯誤;具體語法為:“error : syntax error at token 'System.Core' in: IL_0024: ldtoken class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0> [System.Core]System.Linq.Enumerable::Distinct<object>(class [mscorlib]System.Collections.Generic.IEnumerable`1<!!0>)”,對IL檔案沒有做多了解,有沒有大佬可以指條明路,應該怎么去改這個IL檔案?,在線等,急!!!!
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/83738.html
標籤:C#
