我試圖運行在C#Windows中的一些單元測試窗體應用程序(Visual Studio 2005中),我收到以下錯誤: System.IO.FileLoadException: Could not load file or assembly 'Utility, Version=1.2.0.200, Culture=neutral, PublicKeyToken=764d581291d764f7'
.Net中的Version類沒有像我期望的那樣實現CompareTo接口,它似乎處理比較字母數字而不是比較四個數字。也許不是一個錯誤,而是一個'功能'。 任何人都可以照亮爲什麼比較(以及標準<,=和>操作符)不能像我期望的那樣工作嗎? Dim MainVersion As New Version("1.1.3251.4029")
Dim Ver_Low As New Version("1