時當運行的MSBuild腳本的一個項目,我發現了以下錯誤的Infragistics許可例外:的MSBuild-ING
Properties\licenses.licx(1): error LC0004: Exception occurred creating type 'Infragistics.Win.UltraWinEditors.UltraNumericEditor, Infragistics.Win.UltraWinEditors.v5.2, Version=5.2.20052.1028, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' System.ComponentModel.LicenseException: Unable to locate license assembly.
Properties\licenses.licx(2): error LC0004: Exception occurred creating type 'Infragistics.Win.Misc.UltraGridBagLayoutManager, Infragistics.Win.Misc.v5.2, Version=5.2.20052.1028, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' System.ComponentModel.LicenseException: Unable to locate license assembly.
Properties\licenses.licx(3): error LC0004: Exception occurred creating type 'Infragistics.Win.UltraWinEditors.UltraCheckEditor, Infragistics.Win.UltraWinEditors.v5.2, Version=5.2.20052.1028, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' System.ComponentModel.LicenseException: Unable to locate license assembly.
看來,有一個與我的機器的Infragistics的許可證問題。
我在我的解決方案中有有效的許可證文件,那麼是什麼原因導致了這個問題?
當您使用MSBuild進行構建時,您使用的是.csproj/.sln文件還是客戶端文件?這是否與從Visual Studio構建時位於同一臺計算機上? – 2010-02-04 00:00:58
我不是從Visual Studio開始構建的,因爲這裏的開發過程是使用MSBuild。但是,是的,所有文件都在我的機器上,並且它構建了相同的項目/解決方案文件。 – Jonathan 2010-02-04 00:02:38