Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Infragistics license exceptions when MSBuild-ing

Tags:

When running the MSBuild scripts for a project, I'm getting the following errors:

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. 

It appears that there's a problem with my machine's Infragistics license.

I have valid license files in my solution, so what's causing this issue?

like image 223
Jonathan Avatar asked Feb 03 '10 23:02

Jonathan


1 Answers

There is a much easier solution: Set the build action on your license.licx to None.

like image 196
ehnmark Avatar answered Nov 21 '22 19:11

ehnmark