Hi everyone,
I am having some troubles and it looks because of I have reference to the same assembly with infragistics4 and infragistics45.
Compiler Error Message: CS0433: The type 'Infragistics.Web.UI.WebScriptManager' exists in both 'c:\Users\XXXX\AppData\Local\Temp\Temporary ASP.NET Files\vs\80987e63\b5feba56\assembly\dl3\ac980752\0028a6e3_2d56d201\Infragistics45.Web.v16.2.DLL' and 'c:\Windows\Microsoft.NET\assembly\GAC_MSIL\Infragistics4.Web.v16.2\v4.0_16.2.20162.2068__7dd5c3163f2cd0cb\Infragistics4.Web.v16.2.dll'
So I guess I can resolve the problem using only one of them, but... which is the difference between infragistics4 and 45? is it a different version (both of them are v16.2)? how can I know wich one I should use? it doesnt matter?
Sorry about that, but I took this project at the middle and I think I am losing something about this...
Can anyone help me?
Hi,
Thank you for contacting Infragistics!
It seems you have included references in your website/project to both Infragistics45.Web.v16.1 and Infragistics4.Web.v16.1. This could be caused by for example dropping a couple of controls from the Toolbox under Visual Studio Design mode and not noticing one is under different CLR version than the desired. This will cause both dll files to be referenced in the .aspx and Web.Config files. Removing the unwanted references will fix the issue, as it is expected to have only one CLR version dll referenced.
You could also reference to the following resources, where other similar scenarios are discussed:
http://ko.infragistics.com/community/forums/t/65307.aspx
https://ko.infragistics.com/community/forums/f/ultimate-ui-for-asp-net/94187/the-type-exists-in-both-and
But the main question for me is: What is the difference between both infrangistics4 and 45? Should I use specifically one of them?