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.
Should probably also mention that I am using Windows 7 Enterprise, 64-bit edition.
Hello ,
It is seems very strange for me to hear “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.”
So if there is no exceptions or messages, then version free assembly should be there, but maybe of some reason you can’t see them. So could you please double-check if the version free assembly of 11.2 are in the GAC, after you copy them there. Is it possible to capture a video of what happen when you trying to move version free assembly of Infragistics 11.2 to GAC.
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?
Hello Balvanra,
According to my last reply on this thread I have additional information for you:
1.
c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\gacutil.exe
This Microsoft gacutil seems to recognize only assemblies up to 3.5. So it is expected to have an error message, since our Version Free assemblies are point out to the latest available CLR at the moment which is CLR4.0.
There are two GAC-s in your system as well. The one is under " C:\Windows\assembly" which have in it all of the assemblies up to 3.5 visible in it, and another one - "C:\Windows\Microsoft.NET\assembly" which currently contains the CLR 4.0 assemblies that your machine is using. 2.
c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\gacutil.exe"
Hello Balvana,
I am still researching your issue with the gacutil. Regarding your second question - the version free assemblies are pointing out to the latest CLR version, so the they would be refering to this CLR. Regarding your third question - there won't be an issue having multiple versions in the GAC. I mean you could have 10.3, 11.1, 11.2 and they could be in the GAC and also your applications have to use just a single version and you could not have different versioned assemblies into a single application.
If you have any other questions please feel free to let us know.
Hello Pabradley2000,
I meant that you could do it using gacutil istead, so thank you for sharing your experience with the community.If you have any other questions please feel free to let us know.
As this thread has verified answer I do not know wether you noticed my post with following questions:
Which gacutil version should be used?
Will you supply Version-free libs for other versions of .NETFramework (currently only .NET 4)?
Is it possible to have more versions in GAC according to different application versions in versioning system?
Thx for reply.