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.
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.
Hello,
we have similar problem.
Version 2010.3 was in GAC. Now we try to upgrade to 2011.2 version. I want to use Version-Free dlls. After running gacutil I get message saying:
Failure adding assembly to the cache: This assembly is built by a runtime newe r than the currently loaded runtime and cannot be loaded.
This is running gacutil from here:
c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\gacutil.exe
Now when I run gacutil from here:
c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\gacutil.exe
dll is added into GAC. But into C:\Windows\Microsoft.NET\assembly
Problem is with project upgrade. After running Version Utility nothing is upgraded with message:
Can't find an newer version for assembly ...
So my question is:
Which gacutil version should be used?
Do you have any advice solving this problem?
Is it possible to have diferent versions of IG in GAC (so I would be able to switch between different versions of our application using different versions of IG - sort of TRUNK / BRANCH in version control system)?
This can be a"problem":// Assembly Infragistics.Diagnostics, Version 11.2.20112.2050[assembly: AssemblyVersion("11.2.20112.2050")][assembly: CompilationRelaxations(8)][assembly: RuntimeCompatibility(WrapNonExceptionThrows=true)][assembly: AssemblyCopyright("Copyright(c) 2006-2011 Infragistics, Inc.")][assembly: TargetFramework(".NETFramework,Version=v4.0,Profile=Client", FrameworkDisplayName=".NET Framework 4 Client Profile")]Is this on purpose?Will you supply Version-free libs for other versions of .NETFramework?
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).
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.
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