我是用的是Unity2017版本,使用的Google.Protobuf.dll支持.NET4.6及以上,然后就在在Unity中修改Scripting Runtime version為.NET4.6,再匯入Google.Protobuf.dll報錯:
The type System.IEquatable1<T>' is defined in an assembly that is not referenced. Consider adding a reference to assembly `System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
請問這個怎么解決!
uj5u.com熱心網友回復:
這個問題看起來好像和本機構建相關,應該和
Google.Protobuf.dll 沒關系嘗試干掉 Google.Protobuf.dll 的參考,然后你再構建試試,應該此時還是報告相同的問題
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/28030.html
標籤:C#
