When I publish my vb.net windows form project into Azure DevOps it gives me the following error (the X's are redacted on purpose):
##[error]CommissionsReboot\My Project\licenses.licx(3,0): Error LC0003: Unable to resolve type 'Infragistics.Win.UltraWinGrid.UltraGrid, Infragistics4.Win.UltraWinGrid.v19.2, Version=19.2.20192.302, Culture=neutral, PublicKeyToken=XXXXX'
The project runs fine when I debug and I have the following in the licenses.licx:
Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter, Infragistics4.Win.UltraWinGrid.ExcelExport.v19.2, Version=19.2.20192.302, Culture=neutral, PublicKeyToken=XXXXXInfragistics.Win.UltraWinDock.UltraDockManager, Infragistics4.Win.UltraWinDock.v19.2, Version=19.2.20192.302, Culture=neutral, PublicKeyToken=XXXXXInfragistics.Win.UltraWinGrid.UltraGrid, Infragistics4.Win.UltraWinGrid.v19.2, Version=19.2.20192.302, Culture=neutral, PublicKeyToken=XXXXXInfragistics.Win.UltraWinExplorerBar.UltraExplorerBar, Infragistics4.Win.UltraWinExplorerBar.v19.2, Version=19.2.20192.302, Culture=neutral, PublicKeyToken=XXXXX
Anybody have an idea on how to fix this?
Hello Ragael,
Thank you for your post. The license.licx file you mentioned here, has the reference of Infragistics control version 19.2.20192.302, do you have the same version/build installer on Azure DevOps? Maybe your development environment has the same version but on Azure DevOps you have a different version and that is why its throwing this issue.
So here you can try something :
1) Check the installed version of Infragistics control on Azure DevOps.2) On Azure DevOps from license.licx file remove all references of Infragistics control and build the sample again .
I hope this will help to fix the issue.
Thank you ,Divya Jain
Divya,
Thanks for answering.
1) I'm not using nuget references so I would assume infragistics doen't need to be in artifacts. Am I supposed to install them a different way on Azure DevOps before I commit?
2) If i remove the references, it throws a bunch of errors on the methods I use infragistics.
Hello Rafael,
Thank you for the update. I am not talking about nuget packages , I am talking about dlls , how you are refereeing the dlls into the project on Azure DevOps?
And about removing the references , I am asking to remove the references from the licenses.licx only.
In the licenses.licx file , if you have the references of Infragistics controls only them you can simply remove all the content of this file, and save the project , rebuilt it.
-Divya Jain
Looks like my issue was that I wasn't referencing the dlls correctly like you said since the bin folder was not being copied. I created a new folder, added the dlls there, then referenced the dlls from that new folder instead and it let me publish with no errors. Thank you for your assistance!
Hello,
Thank you for the update. Glad that you fixed the issue.