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.
Here is a video of me trying to install the files into the GAC. As you will notice, the files are not installed and there are no error messages. I get the same result whether the 10.2 files are installed in the GAC or not installed. There are also no events in the Event Log pertaining to the failed installation.
http://www.youtube.com/watch?v=1xXqW8UhKJ4
Hello Pabradley2000,
We are still following your case. Please feel free to let us know if you still need assistance with this matter.
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
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.
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?
Hello Balvanra,
According to my last reply on this thread I have additional information for you:
1.
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"