I am trying to use the 2011.2 version free Windows form dll files. I followed the directions at http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.2/CLR2.0/html/Introduction_Using_Version_Free_Assemblies.html (although there is no C:\Program Files\Infragistics\NetAdvantage 2011.2\Windows Forms\Bin directory in 11.2 since the CLR2.0 and CLR4.0 subdirectories were added). When I tried to add the assemblies to the GAC (by dragging the files to c:\Windows\assembly and using GacUtil.exe), the files could not be added. As a result, when I tried to add a control to a form, it placed the control at the bottom of the form in the components section instead of adding it to the form. (http://forums.infragistics.com/forums/p/51009/269432.aspx)
Is there a reason why this is occurring? Is there another step I need to do to successfully register the assemblies in the GAC for the 11.2 assemblies?
As a side note, I was able to use and register the 10.2 version free dll files after I was unable to install the 11.2 files.
Hello,
Without copying the version free assemblies into the GAC they will be placed beneath the form. So firs you should Add Version free assembly into the GAC, If you were not able to move Version free assembly to the GAC, it seems to me that you have no permission to write to GAC, so please verify that you are logged with account, which has administrative rights. What happen when you try to add Version Free Assembly to the GAC, is there any error message or something?
After you have Version free assembly to the GAC, create a toolbox tab in Visual Studio and add the controls in the version-free assemblies located in the Bin folder. Create a new Windows Forms project in order to test Version free assembly.
I am waiting for your feedback.
I do have the administrative rights to add assemblies to the GAC since I was able to add the 10.2 version free assemblies after I was unable to install the 11.2 files.
When I try to add the 11.2 assemblies, I do not get any error messages. They simply are not added in the GAC. I also did not see any error messages in the Event Viewer.
I have been able to add and use the 10.2 assemblies, but have not been able to install and use the 11.2 assemblies.
Sorry, got sidetracked by other projects. As I had said in my previous post, the 11.2 version free dlls do not install regardless of whether the 10.2 files are installed in the GAC. Here is another video showing how the files are not installed when the 10.2 files were not previously installed. Again, no error messages or event log entries.
http://www.youtube.com/watch?v=hpDFpUOyfxg
Hello Pabradley2000,
I have tried the following and i am also not being able to see the assemblies in the GAC. Anyway after I have removed the current assemblies from the "Bin" folder of the Program Files and replace them with the version free once, have been able to open my visual studio and create a new tab and reference the version free assemblies there, even if they are not visible in this GAC . Please try ti create a new tab and try to refence there the version free assemblies.There might be few reasons for such behavior: As in your video shows you already have some of the version less assemblies as well as another Infragistics assemblies as well. Also please note that this GAC shows you only the assemblies that you are having for CLR3.5 and under. There is another GAC in your machine where you could find the assemblies referencing higher CLR4.0 and up. It is located under - C:\Windows\Microsoft.NET\assembly
If you have any other questions with the same matter please do not hesitate to contact us.
I created a new toolbox and added the 11.2 infragistics controls to the toolbox. When I try to drag a label onto a form, I get the following error:
The dlls the project is referencing are the correct version (11.2.20112.2050 in C:\Program Files (x86)\Infragistics\NetAdvantage 2011.2\Windows Forms\CLR2.0\Bin\Infragistics.Win.Misc.dll).
I think I figured out the problem. I looked in C:\Windows\Microsoft.NET\assembly and noticed that the files also were not there. I tried installing the files using gacutil.exe instead of dragging them to C:\windows\assembly and it appeared to install them in the 4.0 GAC. The files did not appear in c:\windows\assembly as before. I closed and reopened Visual Studio and recreated the 11.2 Version Free toolbox. Afterwards, I was able to drag controls onto the form.
So, I guess the moral of the story is to always use gacutil instead of dragging the files into c:\Windows\assembly so that the files are installed in the CLR 4.0 GAC. Infragistics may want to update their installation instructions for the version free dll's.
I also am curious as to the answer of balvanra's question. Is it possible to support multiple versions of the version free dll's to support different versions/branches?
Thanks for your help with this issue.
I have used gacutil to install the version free assemblies, but I'm still unable to use them with the designer in Visual Studio. Did you also uninstall the CLR2 and CLR4 versions?