Hi Team,
Getting ambiguous in the namespace error in my my web project .Using Infragistics 14.1 controls.What i am doing wrong here.
Have reference to Infragistics4.WebUI.Documents.Excel.v14.1 and Infragistics.Documents.Excel in my project.
I created some common functions in App_code folder sot that be used across all pages in and referenced Infragistics.Documents.Excel to write a function that takes argument as below
Public Shared Sub MergeExcelCells(ByVal wrkSheet As Worksheet, ByVal columnToMerge As Integer, ByVal startRow As Integer, ByVal maxRow As Integer)
End Sub
Thanks & Regards
Rajeev G
Hello RAJEEV,Thank you for posting in our community!
In general, this error means that you have included more than one version of the assembly into your project and the compiler cannot decide which assembly to use. You have to use the same version everywhere.
I suggest you to look at the references in your project in Visual Studio. It's possible your project is referencing assemblies from the GAC and not copying them to the bin folder.
Hi Ivaylo,
Even i thought the same.But Its happening from out build machine(jenkin) where Infragistics is not installed.I have included all my required infragistics dll in Bin folder of the website.
So thats way its not getting from GAC.